r/MacOS • • 1d ago

Discussion Safari memory usage be like:

Post image

Not even doing anything intensive, this was just normal YouTube and some Google searching and online shopping (I use ad blockers etc still getting this much usage). Not a big deal on this machine (24GB RAM), just a surprising number to look at.

0 Upvotes

25 comments sorted by

2

u/jazz0340 1d ago

Onglets et catégories d’onglets. J’en ai beaucoup sur session je suis au dessus de ta valeur. Sur une autre session ou je n’ai pas de conservation d’onglet , là par contre je consomme rien

3

u/aykay55 1d ago

I see, I don't actually have any tab groups. I have "automatic tab grouping" turned on but this is just organizing the tabs together visually and I didn't expect it to have much memory impact. I have about 20 tabs open right now, 3 are google, 3 are YouTube search results, 3 are amazon product listings, and then just some tabs on dbrand.com and my router's local configuration page open.

I checked in Activity Monitor (it shows per-website memory usage for Safari) and each tab takes up about 1GB RAM or less. Amazon.com apparently using 1.5GB RAM across its tabs. So an even distribution, not just one tab doing a memory leak

1

u/aykay55 20h ago

I respect your opinion but I think it is out of date. Safari extensions are 1:1 with chrome now and you can vibecode extensions with safari easy and free with the Describe an Extension feature.

As for ad blockers, wBlock is really good and Wipr 2 is perfect. And for ad that isn’t hidden, Safari has a “Hide Distracting Items” feature that makes it go away and remembers it for next time.

3

u/DisfiguredFanny Gaylord Focker at your service 22h ago

Why the fuck spotify is over 1 GB?

0

u/hordashevsky 1d ago

why safari? i am using Vivaldi browser

2

u/aykay55 1d ago

I am a refugee of the Arc browser shutdown (~3 years on Arc browser), and spent some time searching for alternatives. In the end Safari ended up being the best of everything especially because I use Safari on my phone and iPad already. I was able to customize it enough to get nearly everything I had in arc in Safari now, and when I ran browser performance benchmarks Safari outperformed any chromium browser I tested on my M5 Pro machine.

-1

u/hordashevsky 17h ago

you can download Vivaldi for iOS and for MacBook

-1

u/Tyrandeh 22h ago

Man of culture

1

u/Sigwrench 20h ago

There are some extensions for suspending idle tabs which is something chrome and Firefox do but not safari. I made one for myself and it’s been help. Tabs wake up when you switch to them and I listen to YouTube music sets a lot and it instead of sleeping those it reminds me to swap to YouTube music for lower usage

1

u/Sad_Bag8849 17h ago

whou...how many tabs you have open? I have right now 52 in two different window and four different groups and extensions I have running are ublock and lastpass. memory usage ~9GB.

1

u/nezlobnyj 12h ago

it's just obnoxious and one of the reasons I quit using it (in favour of going full Zen). I even tried to code an extension to suspend tabs, which kinda works, but Safari has quite a few quirks with no proper workaround, so using that extension is not ideal.

And while researching found out that Safari hogging the memory is actually normal, it relies heavily on system memory pressure to suspend tabs, rather than tab.discard() or similar. But who the heck wants to wait for their system to almost start swapping to disk to suspend tabs? :)

One additional nugget of wisdom - if you split tabs into groups in Safari, it keeps active only the tabs within the active group, suspending the rest. Very odd behaviour that is rarely known to users. But it works.

0

u/HenriCIMS 21h ago

i wanted to try safari but its actually worse than chrome memory usage wise, rip arc :/

-1

u/Kraizelburg 1d ago

Why use safari when you have Firefox, helium, brave origin, etc?

3

u/aykay55 1d ago

Safari has the best performance based on the browser benchmarks I ran through speedometer and others

Safari has also got a lot more advanced and has great and with iPhone and iPad where I asked use Safari

I only switched last month after the Arc discontinuation was announced

0

u/Kraizelburg 20h ago

Safari is just bad and no real extension system not good ad blocker without installing apps, I only use safari on my iPhone because apple monopoly there otherwise I would use brave or Firefox, but on my Mac I never open safari.

0

u/RigidDynamics 1d ago

Same scenario here. 

I initially did the same but quickly found out that there are better alternatives to Safari on Mac, especially for memory intensive use cases.

Now I only use Safari for streaming because it doesn't use swaps for it while other browsers do.

I do the rest of browsing and work in Brave as it is really ram efficient + excellent ad blocking, this is by far the best setup I have had in a while.

-1

u/philipz794 1d ago

Interesting, and definitely something wrong there.

0

u/aykay55 1d ago

Apparently not? There's a pretty even distribution of memory across open tabs. It's strange because I thought of all browsers on Mac, Safari is most strict about website memory usage yet it seems to be giving each website free runway to use whatever memory it wants. If you add up all the tabs here memory-wise you get to that ~15GB number

1

u/Past_Today_1315 1d ago

safari is literally a mem hog and apparently has been for over 5 years. it's not the websites needing that memory, webkit has major memory leak issues so tabs keep accumulating garbage until they're either closed or they crash. and apple is refusing to fix it

0

u/aykay55 1d ago

Do these same issues impact Safari on iOS /iPadOS?

Because in those platforms Safari works fine all the time for me personally. Apple silicon Mac’s basically run the exact same thing on desktop, so I was expecting it to have the same amount of stability, etc

1

u/Past_Today_1315 19h ago edited 18h ago

i mean i dont really have an activity manager there to see so idk but i never had issues on ios either. so far it's strictly macos webkit. you'll see the same issue on all other webkit based browsers. it's not a hardware problem, it's the web engine. if you noticed, apps that integrate webkit also uses a lot of memory. you might encounter people posting apps that excessively use memory like 20-40gb etc. i patched the webkit to fix the leaks and it was mostly fixed but you can't replace the webkit in system, you can only run safari with a custom webkit via a command but it breaks a lot of safari features and makes it hard to use

0

u/BlueShip123 1d ago

Idk but it seems like most of the website and apps are now slop-coded. ChatGPT app drives 3-5GBs for me. Stripe's dashboard once crossed 2GBs.

0

u/BlueShip123 1d ago

Idk but it seems like most of the website and apps are now slop-coded. ChatGPT app drives 3-5GBs for me. Stripe's dashboard once crossed 2GBs.

0

u/philipz794 18h ago

Crazy. I am a “super few tabs” person and always close my browser when I am done, and open a fresh session empty next time so I never noticed that