Safari ram issues after installing Xcode

Hi,

When watching YouTube video's in safari it used to reload the page after a while and giving the message that it used an excessive amount of memory.

A few week ago I did a clean install and after that safari acted normal again.

Today I installed Xcode 15.8 beta again for my work and suddenly safari has this issue again. I had Xcode installed before the clean install and it is the only thing that changed on my Mac today. So it seems to be correlated.

Does anyone know a solution? It seems that my Mac has RAM management issues after the Xcode install.

Thanks in advance!

Best.

I've got 16GB Mac Book pro 2021. All I'm running is Outlook and Teams and Xcode 15.8 Beta and recently I've been getting messages saying I've run out of application memory. Never had this problem before, including with the 15.1 to 15.7 betas, its only the very latest Xcode that has started causing this. Turning off Outlook and Teams in order to free up a little more memory is just totally unfeasible as it means one if disconnected from work contact.

Safari ram issues after installing Xcode
 
 
Q