I'm finding Safari (Latest - v5.0.2) to be even more of a memory hog than usual. (Currently using 465mb of RAM with only this tab open, but having been running for a while)

Closing it and reopening it lowers it's memory footprint, but it always creeps back up over time.

Aside from disabling extensions, any tips to help troubleshoot/reduce it's memory usage? I've been using ClickToFlash which helps by requiring any Flash entity to be manually enabled on each page view.


So it appears that Flash is still the main culprit - if you enable any flash in ClickToFlash it stays resident in memory.

Following Gruber's advice on Daring Fireball, I've disabled Flash entirely on all browsers except Chrome and this seems to have helped immensely

  • 5
    Flash is a hog, but I have around 10 tabs (total) opened in three Safari Windows and mine is around 780mb. I don’t have Flash. ;) Safari likes RAM. – Martin Marconcini Nov 18 '10 at 13:57
  • 2
    Go flash free and your memory usage will plummet. From there, you can see which plug ins allocate memory, but in practice - it's flash that really hogs RAM. – bmike Jun 23 '11 at 18:04

This is just a fact of life using Safari. Spend some time browsing Flickr and it's memory usage will go way over a Gig. Gmail is another killer. I think Safari most be doing aggressive in memory caching to speed things up.


There's nothing wrong with turning off flash, but the main advantage is lower processor usage, not just memory consumption (though it's great to see turning it off has lowered Safari's footprint).

I don't think you need to worry about what Safari is doing with memory for a couple of reasons:

Safari 5 is a 64bit application, where as Firefox and Google Chrome are only 32bit (at least the mac public releases). This is relevant because 64bit applications appear to use more memory while they're running (The Growl team explains this better than I could, here).

If you've got free memory, which the OS (and Safari) can release quickly, safely and easily (speaking as a Programmer), why not use it to cache your web content - that's what it's there for. Trust your OS - it's clever, if another application needs the memory it'll just release the not-needed-right-now-bits-and-bobs.

Safari also has an unfair advantage- it's made by the same company that built your computer. I'm not saying Safari is infallible, or even that it's the best browser, just that you shouldn't over-think the statistics; memory is there to be used and if it's not negatively affecting your computing experience then don't stress.

  • 4
    But it is impacting my computing experience. My computer starts to crawl when Safari eats up a lot of memory and I usually have to shut it down or restart it. – Josh Newman Dec 3 '10 at 15:42
  • Stink! That sucks. I really like safari and don't have that problem, but I do notice the high memory footprint. How about chrome? It still uses webkit to render the pages. – glenstorey Dec 3 '10 at 18:30
  • 1
    @glenstorey: I agree with Josh, as I've made the same experience: at least as soon as my available physical RAM goes down to <100 MB (of 3 GB in total) with OS 10.6.8, this has a massive impact on my computing experience: spinning beach ball for a long time, etc. ... And Safari seems to be THE application that really needs lots of RAM, especially for flash – MostlyHarmless Mar 28 '14 at 22:53

using Safari 5.0.5, I have flash turned off and in running sunspider 0.91 I'm seeing real mem growth to over 1.73GB on a 4GB mac mini (2010), and CPU over 100%. It runs so slow it doesn't complete in over 10 minutes.

Running the same in Firefox 5.0 (also 64bit) I'm getting 500mb of real memory 90% CPU, and it completes in less than 30 seconds (and is reporting 300ms as a score... spiffy!).

So my answer is... stop using safari on snow leopard and move to firefox 5.0.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .