I have run a simple test.
The following tabs have been opened first in Safari.
My M1 Mac was then turned off and powered back on, I then opened the same tabs in Edge.
4 x Gmail tabs (each with a different account)
1 x Youtube Music tab playing in the background
1 x Bloomberg News tab
Safari RAM usage between 6 and 7GB
Microsoft Edge
Same tabs
Edge RAM usage remained stable at under 2GB
I'm at a point where one gmail tab + youtube will use all my RAM and be forced into swap. It slows down my mac to a point where I simply cannot use it. There is a clear massive requirement of RAM by Gmail in browser but nowhere near as high in Edge.
I never thought I'm gonna say this but I have started using Edge as my default browser, all these years Microsoft has tried to convince me to use it, finally they made it happen.
I intend to create a more comprehensive post with screenshots and everything.
P.S. the only reason I have even tried Edge was curiosity relating to their Bing integration with ChatGPT. Don't worry, Bing is still horrible but their version of ChatGPT is nice.
I'm finally giving up on Safari and moving over to Chrome. I preferred Safari but the memory issue with Safari is such a PITA. And don't tell me how to clean up the memory. I have tried that and it only lasts a couple of minutes before I have to go through those hoops again.
Chrome is the absolute worst browser to use on a Mac with an SSD as Chrome likes to generate little helper programs and write tot eh disk when viewing movies. You are better off with Firefox with the cache turned off.
Safari is terrible, too slow and uses too many resources, I have got a macbook 2019 core i7 32GBRAM and 1TB SSD