Page 1 of 3 123 LastLast
Results 1 to 15 of 34
  1. #1

    OneMoreThing...'s Avatar
    Member Since
    Mar 30, 2005
    Posts
    2,689
    Post OS X Lion Bug: Safari guzzling massive amounts of RAM
    OS X Lion Bug: Safari guzzling massive amounts of RAM


    After installing OS X Lion last week, one of the things I've noticed is that Safari tends to run away with enormous amounts of RAM over time. A subprocess called "Safari Web Content" will sometimes use over a gigabyte of RAM. Since my Mac maxes out at 4 GB, and since it's a rare day that I'm only using Safari and nothing else, having so much of my system's RAM gobbled up by one process was bogging everything down.

    Safari Web Content is a sandboxed subprocess of Safari that runs all webpage rendering. If you've got several dozen tabs open at once, it might make sense for the subprocess to use up that much RAM; however, I was seeing huge amounts of RAM usage even with only three or four tabs open. Four webpages shouldn't be consuming over a gigabyte of RAM. Many people's knee-jerk reaction has been to blame Flash for the excessive memory consumption, but that's not the case here; Flash runs as its own separate process and has nothing to do with the "Safari Web Content" process or its runaway RAM usage.

    A few people have recommended disabling any Safari extensions you may have running to reclaim a big chunk of the RAM used up by Safari Web Content. Whether it's a bug in Safari 5.1 or incompatibility with older extensions, the theory goes that one or more of the extensions I've been running was the cause for Safari's excessive RAM usage. Disabling all but a handful of my Safari extensions brought the Safari Web Content subprocess's RAM usage down from 1.06 GB or more down to a much more manageable 300 - 320 MB with five tabs opened, but over time usage climbed to over 600 MB again, so it's possible one of my enabled extensions is the culprit.

    As I write this, it's been around ten minutes since I restarted Safari the last time. I have only three extensions running -- Better Facebook, Rapportive, and ClickToFlash -- and I've browsed about ten pages between three tabs since relaunching Safari. Already Safari Web Content has consumed nearly 300 MB of RAM.

    A subsequent test with all extensions disabled has caused Safari Web Content to go from its initial 148 MB all the way up to 251 MB of RAM after browsing 39 webpages -- most of them on Wikipedia, which isn't exactly known for data-heavy content. This doesn't seem normal to me.

    This bug definitely seems to have been introduced in OS X Lion or Safari 5.1, and hopefully it's one we'll see addressed in a forthcoming update.

    OS X Lion Bug: Safari guzzling massive amounts of RAM originally appeared on TUAW - The Unofficial Apple Weblog on Wed, 27 Jul 2011 09:00:00 EST. Please see our terms for use of feeds.




    Source┬*|┬*Permalink┬*|┬*Email this┬*|┬*Comments
    Read more

  2. #2

    BrianLachoreVPI's Avatar
    Member Since
    Feb 24, 2011
    Location
    Maryland
    Posts
    3,733
    Specs:
    March 2011 15" MBP 2.3GHz i7 Quad Core 8GB Ram | Mid 2011 27" iMac 3.4 GHz i7 16 GB RAM 2 TB HDD
    Feels like vindication - and it's a Safari bug - not a Lion bug.

  3. #3

    schweb's Avatar
    Member Since
    Oct 27, 2002
    Location
    Cleveland, Ohio
    Posts
    13,190
    Specs:
    MacBook Pro | LED Cinema Display | iPhone 4 | iPad 2
    Quote Originally Posted by BrianLachoreVPI View Post
    Feels like vindication - and it's a Safari bug - not a Lion bug.
    Well the article doesn't really confirm anything, just one guy's observations. It still feels like it's some kind of extension/plugin issue, especially since not everyone is seeing the problem.
    schweb | community leader
    flickr facebook twitter tumblr google+ about.me

    Mac-Forums: On Twitter | On Facebook | On Flickr


  4. #4

    BrianLachoreVPI's Avatar
    Member Since
    Feb 24, 2011
    Location
    Maryland
    Posts
    3,733
    Specs:
    March 2011 15" MBP 2.3GHz i7 Quad Core 8GB Ram | Mid 2011 27" iMac 3.4 GHz i7 16 GB RAM 2 TB HDD
    Quote Originally Posted by schweb View Post
    Well the article doesn't really confirm anything, just one guy's observations. It still feels like it's some kind of extension/plugin issue, especially since not everyone is seeing the problem.
    Just running down the comments - it's clear that quite a few people are. I'm happy to see this as for a while there I thought I was the lone victim since you guys weren't seeing this. I only run the 1P extension and click-to-flash - so unless one of those are the culprits - which is certainly possible - I think Safari is a tad leaky. I'm sure it'll be remedied soon.

  5. #5

    dtravis7's Avatar
    Member Since
    Jan 04, 2005
    Location
    Modesto, Ca.
    Posts
    28,866
    Specs:
    iMac 2010 27" QuadI7 OSX10.11, iMac 2008 OSX10.11, MBP Late2011OSX10.11 , iPad Air, iPhone 3GS
    I had worse memory usage in Safai 5.0.5 under Snow Leopard. If I let it run with 3 tabs all day and night and woke up in the morning and checked, sometimes Safari was taking over 1GB RAM! Not Virtual either.

  6. #6

    BrianLachoreVPI's Avatar
    Member Since
    Feb 24, 2011
    Location
    Maryland
    Posts
    3,733
    Specs:
    March 2011 15" MBP 2.3GHz i7 Quad Core 8GB Ram | Mid 2011 27" iMac 3.4 GHz i7 16 GB RAM 2 TB HDD
    Quote Originally Posted by dtravis7 View Post
    I had worse memory usage in Safai 5.0.5 under Snow Leopard. If I let it run with 3 tabs all day and night and woke up in the morning and checked, sometimes Safari was taking over 1GB RAM! Not Virtual either.
    1GB was normal operations for me as well, but never saw it get as high as it does now. It pretty much seemed to cap out at around 1GB.

  7. #7

    Discerptor's Avatar
    Member Since
    Aug 02, 2005
    Posts
    1,229
    Specs:
    2.6GHz Core i7 15" MacBook Pro - 8GB DDR3 SDRAM - 750GB 7200 RPM HDD - GeForce 650M GT 1GB VRAM
    Quote Originally Posted by schweb View Post
    Well the article doesn't really confirm anything, just one guy's observations. It still feels like it's some kind of extension/plugin issue, especially since not everyone is seeing the problem.
    I've tested with all extensions disabled in Snow Leopard. Safari 5.1 itself is most definitely what has issues. That said, it would be interesting if the problem only presents itself on certain hardware configurations.

  8. #8

    MYmacROX's Avatar
    Member Since
    Mar 17, 2009
    Posts
    3,625
    Specs:
    2008 15" MBP Yosemite, 2012 21.5" iMac Yosemite
    Safari Web content = 887.7 MB Real Mem
    Safari = 593.1 MB Real Mem

    Only plug-in I have is Click to Flash.

    Update: I decided to quit Safari and when I opened it again, my memory usage dropped drastically. Sitting now around 118MB and 88MB respectively.
    Interestingly, Flash Player (Safari Internet plug-in) is now using more than everything else. 156MB
    64GB iPhone 6, 64GB iPad Air 2.

    Reminder: Please include your Mac's specs. This will make it much easier for the other members to assist you.

  9. #9

    chscag's Avatar
    Member Since
    Jan 23, 2008
    Location
    Fort Worth, Texas
    Posts
    48,001
    Specs:
    Late 2013 27" iMac, iPad 3, iPhone 6s+, iPhone 6+, 3 iPods, El Capitan
    This is nothing new. Safari leaked memory in Snow Leopard and it looks like it continues to do so with the new version. It's possible some extensions are adding to the leakage but I believe Safari itself is the culprit. About the only thing you can do is restart Safari every so often to reduce the leakage, at least until Apple fixes it.

  10. #10

    baggss's Avatar
    Member Since
    Oct 10, 2004
    Location
    Margaritaville
    Posts
    10,311
    Specs:
    27" 3.4 Ghz i7 iMac-13" C2D Macbook-OSX 10.10.2 -64Gb iPad 2-64 Gb iPhone 6+-ATV 2-14Tb of Storage
    Quote Originally Posted by dtravis7 View Post
    I had worse memory usage in Safai 5.0.5 under Snow Leopard. If I let it run with 3 tabs all day and night and woke up in the morning and checked, sometimes Safari was taking over 1GB RAM! Not Virtual either.
    Agree. This may be "new" bit Safari has had a memory issue for a while now.


  11. #11

    BrianLachoreVPI's Avatar
    Member Since
    Feb 24, 2011
    Location
    Maryland
    Posts
    3,733
    Specs:
    March 2011 15" MBP 2.3GHz i7 Quad Core 8GB Ram | Mid 2011 27" iMac 3.4 GHz i7 16 GB RAM 2 TB HDD
    I took this just a second ago. Safari may have had a leak previously - but it's interesting that I never saw it discussed until now. Maybe it was just one of those things that was understood by all already. As I said before - it always seemed to cap out around 1MB or so - at least for me - but with 5.1... even in the time it took me to upload this to photobucket - I'm now a little over 3GB with Safari. Probably time for a Safari restart.


  12. #12

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    The reason you're likely seeing so much more than the rest of us is because you have the memory "to spare." It's still atrocious but I get the feeling that if I used Safari for a day, it wouldn't come close to 3GB (I see an experiment for tomorrow).
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  13. #13

    schweb's Avatar
    Member Since
    Oct 27, 2002
    Location
    Cleveland, Ohio
    Posts
    13,190
    Specs:
    MacBook Pro | LED Cinema Display | iPhone 4 | iPad 2
    But here's my point that I don't think it can really be said to be a universal issue and has to be tied to some kind of configuration. I've been running Safari 5.1 on my system for days. No restarts, no quits and here's what I'm seeing:



    I'm running these extensions as well as the Flash 11 plugin:

    schweb | community leader
    flickr facebook twitter tumblr google+ about.me

    Mac-Forums: On Twitter | On Facebook | On Flickr


  14. #14

    BrianLachoreVPI's Avatar
    Member Since
    Feb 24, 2011
    Location
    Maryland
    Posts
    3,733
    Specs:
    March 2011 15" MBP 2.3GHz i7 Quad Core 8GB Ram | Mid 2011 27" iMac 3.4 GHz i7 16 GB RAM 2 TB HDD
    Quote Originally Posted by schweb View Post
    But here's my point that I don't think it can really be said to be a universal issue and has to be tied to some kind of configuration. I've been running Safari 5.1 on my system for days. No restarts, no quits and here's what I'm seeing:
    Don't disagree at all - I definitely won't be surprised to find that the graphics glitch is hardware specific.

    Quote Originally Posted by vansmith View Post
    The reason you're likely seeing so much more than the rest of us is because you have the memory "to spare." It's still atrocious but I get the feeling that if I used Safari for a day, it wouldn't come close to 3GB (I see an experiment for tomorrow).
    I'll send you links to all my usual spots on the web

  15. #15

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by BrianLachoreVPI View Post
    I'll send you links to all my usual spots on the web
    Knowing what I do of you, I'm not sure I want to see what you do on the web.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
    By OneMoreThing... in forum Apple Rumors and Reports
    Replies: 25
    Last Post: 02-05-2012, 11:13 AM
  2. Lion-Safari 5.1.2 & RAM usage
    By zephar in forum OS X - Operating System
    Replies: 16
    Last Post: 01-17-2012, 11:50 PM
  3. Kernel_task large amounts of RAM being used.
    By alexwillard in forum Apple Notebooks
    Replies: 1
    Last Post: 09-20-2011, 07:24 AM
  4. Massive gaps in tables in firefox/safari
    By FinnIII in forum Web Design and Hosting
    Replies: 2
    Last Post: 03-28-2008, 11:20 AM
  5. "mdworker" consuming massive amounts of CPU
    By Jacobson17 in forum OS X - Operating System
    Replies: 1
    Last Post: 12-07-2007, 09:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •