Memory leak while surfing Safari

When you just opened Safari (5.0.3 (6533.19.4)) then requires 30-31 MB RAM from OS system (10.6.6 10J567).

User uploaded file

But eventually Safari takes more and more memory.

After one hour active surfing Safari is take on over 380 MB RAM.

User uploaded file

And after closed all window and tab memory size almost not decrease.
Memory is not freed and not returns to system.

Finally, if you do not restart Safari, it slowed, and then crash.

Tested on 2 - iMac (24 and 27), 1 - MacBook Pro 15, 3 - MacPro.


+P.S. Sorry for my english!+

iMac, Mac OS X (10.6.6), Intel Core 2 Duo

Posted on Feb 12, 2011 12:05 PM

Reply
54 replies

Feb 12, 2011 1:48 PM in response to Ruslan-RHD

I don't think it's Safari's fault. After update to 10.6.6 I've noticed problems with virtual memory. It takes all free hdd space no matter what soft I use. I use my macbook for internet (ff) and movies (mplayer). I didn't have any problems with vm before 10.6.6 update and now I have "Starup disk is almost full" dialog at least once for two days. I have to close all programs, wait a while, and then disk space comes back. I think there is a huge problem with 10.6.6

Mar 1, 2011 4:13 PM in response to Ruslan-RHD

I have started seeing this exact problem with Safari also. It would go up to
600meg(out of one 1G), and eventually it would be beachball city, and I would
have to force Safari closed.
I upgraded to 2G, stopped using a specific webmail app with lots of ads
and thought the problem had gone away, but I now just noticed I am back
at 615m real, with only 3 tabs open.
Firefox and Camino never rise over 150Meg after days of usage.

This may have started with 10.6.6, I only started noticing recently.
Something to do with the App store?

Mar 1, 2011 5:29 PM in response to DLKWI

I wish my Safari usage was ONLY where yours is at, but mine rises rapidly up to 3, 4, & even nearly SIX GBS! This is outrageous, and ends up slowing everything down. Even touching the page with my mouse brings on the "Safari not responding" & spinning ball! One Apple tech person told me it's an issue with Flash, and not an Apple issue. Well, maybe Apple needs to hook up with the Flash people and work this out, or find another program to use! What's the use of using software so buggy & energy ravenous???

Mar 1, 2011 6:20 PM in response to andyBall_uk

andyBall_uk wrote:
ok, I thought if it rocketed to 5GB+ you'd very soon see the difference, in a few minutes even.
I doubt it's Flash, but hoped it'd be swift for you to find out.... how long does it take to exceed 1GB, say ?

just a minute or two here, open a ton of tabs & whoosh, but it sticks at 500-800MB


It doesn't jump right up to 5GB, it will begin around 1GB, then move on up from there, maybe over an hour to a couple or three.... It's odd that while it gets up that high, Opera will max at about 1.5, & Chrome about 2 or 3, but then jam up, same with Firefox, which is why it seems like Flash is a likely culprit, for why would the other browsers have the same thing happening? Yet Opera doesn't, but since I'm using the Beta, there are some other quirks, but high memory usage isn't one of them...

Mar 2, 2011 5:07 AM in response to Saxman

I see, that's a pain

if it were just safari, 32 bit might be worth a crack, but it's other browsers too.

If not already done, try right-click on Flash-settings-hardware acceleration.... uncheck that box

I imagine that you've already tried different flash versions &
trashed flash settings/storage ?

If it helps pin down flash as the cause - you can create a shortcut to open a page in opera via System Preferences-Keyboard-Keyboard Shortcuts-Application Shortcuts... hit the + button & add one just for Safari, with the command as follows (or whatever the name is in Develop-Open Page With)
Opera — /Applications

I wondered if you might be able to more readily load flash pages in opera & keep using safari, but free of flash for one session.

Mar 31, 2011 4:59 AM in response to Ruslan-RHD

I've experienced this recently. I have a brand new 2011 15" MacBook Pro with the upgraded 2.3Ghz CPU and 500GB 7200 RPM and I noticed after a couple days of use my machine was slowing to a crawl. Naturally I was suspicious so I launched the profiler to check resource usage. I had been keeping about 5 tabs open and active in Safari. I had 64MB of RAM free out of 4GB. Safari was at 1.5GB of memory in use. The next closest application... 43MB. This is a HUGE problem. One that has turned me back to Chrome. After Chrome is running for several days with 10 tabs open my browser memory usage is 450MB...

This needs to be fixed for Safari to become a viable option again. Especially since you can't save open tabs when quitting Safari so they are re-opened on the next launch. BTW, why hasn't this feature been added yet when FireFox has had it forever and Chrome already has it and is much younger than Safari?

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Memory leak while surfing Safari

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.