Safari 6 memory usage

Discussion in 'OS X Mountain Lion (10.8)' started by Crazy Badger, Aug 6, 2012.

  1. macrumors 6502

    Joined:
    Apr 1, 2008
    Messages:
    451
    Location:
    Scotland
    #1
    Why is Safari using so much memory?

    [​IMG]

    Runs nicely when it's first opened, but after a few hours the memory useage climbs up and everything starts to slow down. I saw the Safari Web Process VM over 1GB at one point!
     
  2. macrumors member

    Joined:
    Jan 17, 2008
    Messages:
    34
    #2
    I had the same problem. It made me switch to Chrome for a while (which is very inelegant as a browser, so I did not enjoy it). Then I found out I had some extensions running in Safari apparently suffering from severe memory leaks. I disabled all the extensions, and it's running great since then (I think mostly Adblocker was the culprit). Could that be your situation as well?
     
  3. macrumors 6502

    Joined:
    Apr 1, 2008
    Messages:
    451
    Location:
    Scotland
    #3
    I think Adblocker was the culprit and I didn't even realise I had that extension installed! Removed now and running much better
     
  4. macrumors 6502a

    MarcBook

    Joined:
    Jul 13, 2008
    Messages:
    864
    Location:
    Jersey, Channel Islands
    #4
    A sticky topic really needs to be made about this. I swear there's a new thread complaining about Safari memory usage every week and every time it's been AdBlock causing the problem. :rolleyes:
     
  5. macrumors newbie

    Joined:
    Apr 22, 2008
    Messages:
    17
    #5
    Yes!

    I'm so glad I found this post. I will be removing adblocker tonight. Safari will use between 1-1.5GB causing the machine to reduce to a crawl. Cheers!
     
  6. macrumors 68040

    MonkeySee....

    Joined:
    Sep 24, 2010
    Messages:
    3,746
    Location:
    UK
    #6
    Someone wrote in another thread about this.

    http://forums.macrumors.com/showthread.php?t=1409475&highlight=safari+memory

     
  7. macrumors regular

    Joined:
    Jan 6, 2009
    Messages:
    154
    #7
    I am using an extension called Ghostery instead of Adblocker and Safari 6 is working perfectly.
     
  8. macrumors newbie

    monkeymajik

    Joined:
    Jul 19, 2010
    Messages:
    17
    #8
    Safari 6 is memory eater. I open 7 tabs (facebook and twitter, youtube, and others non flash web). Safari consumes 1GBram and 70% CPU resources.

    Really sloppy.

    And then, i use firefox, open the same tab and content. Only eat 300mb max. with 10% CPU resources.
     
  9. macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Messages:
    4,523
    Location:
    www.emiliana.cl
    #9
    Safari/WebKit/WebKit2 had memory management problems in Mac OS X 10.2.x and higher, including Lion and Mountain Lion. So it is unlikely, that some Safari v5.x.x extension is the problem.
     
  10. macrumors demi-god

    Zwhaler

    Joined:
    Jun 10, 2006
    Messages:
    5,707
    #10

    Wow really 70%? What type of machine are you running? Is it dual core, or more? Less?
     
  11. macrumors 6502a

    MarcBook

    Joined:
    Jul 13, 2008
    Messages:
    864
    Location:
    Jersey, Channel Islands
    #11
    Well, from personal experience (and from what I've heard from several others), Safari 5/6 hasn't had memory issues unless AdBlock has been installed. I've been running these versions of the browser with and without AdBlock and only experienced the horrific memory leaks with the extension installed, so I've given up on AdBlock until I hear that it's fixed.
     
  12. macrumors 6502

    Joined:
    Sep 24, 2011
    Messages:
    305
    Location:
    Romania
    #12
    Yep, I had the same problem and AdBlock was the culprit. Uninstalled the plugin and now Safari is not hogging memory anymore. Users with memory problems, disable all your plugins and enable them one by one to find the source of the problem.
     
  13. macrumors newbie

    Joined:
    Nov 5, 2012
    Messages:
    1
    #13
    Safari Memory Issue

    I have this issue with no extensions installed - so for me it's a pure Safari memory leak. Shutting down Safari doesn't help - I have to kill the process in Activity Monitor. I also have a pretty bad memory leak with CUPSD Inkjet3 printing process. It starts out with a few MB of memory - and after a few days it's up to 1.5 GB. I'm pretty sure if I ask Apple about this they will say talk to HP and if I ask HP they will say talk to Apple. Probably why this stuff doesn't get fixed - everybody assume it is someone else's problem.

    Eventually my SDD drive fills up - with almost no apps running or anything happening. The nasty hourglass appears with the message that my Startup Disk is full. Obviously some OS/App memory/disk management issues they don't have a handle on yet. I'm really surprised that Apple hasn't fixed this given there have been posts on this for a couple of years.

    MacBook Air 13" 4 GB 128 GB SDD.
     
  14. macrumors 68030

    Watabou

    Joined:
    Feb 10, 2008
    Messages:
    2,902
    Location:
    United States
    #14
    300MB memory is really nothing to be worried about.

    Now, what is worrying is when Safari uses all of my memory. Here it's using 2GB of memory with 16 tabs open. I think the "Safari will use as much available RAM you have free" reason is ********. I've had Safari use 2.34GB of memory and everything slows down to a crawl as the Safari demands even more memory and I have to quit applications and use the purge command because OS X doesn't want to give up inactive memory. Something is wrong here. I reported these bugs to Apple but even Safari 6.0.2 doesn't seem to have fixed the problems. And then I get the dreaded "force reload" popup every half an hour. Clearly, there's something wrong here.

    Compared to Safari, Firefox 20 (Nightly build) uses 700-800 MB for 24 tabs. OS X is much more responsive since I have free space left over and everything is just faster.
     

    Attached Files:

  15. macrumors 6502

    Joined:
    Jul 17, 2008
    Messages:
    259
    #15
    Good to know I have had similar issues cause I have Adblock installed.
     
  16. macrumors member

    Joined:
    Apr 27, 2011
    Messages:
    87
    Location:
    CA
    #16
    I use that too as I found running Adblock was too causing problems. The got rid of it when I found Ghostery. I only have two others running. I used to have trouble using Safari along other RAM hungry apps, and now that I added 8 GB to my already 4 GB I had, all problems solved. I can have like 20+ tabs open and it is only using like 1.5 gigs of RAM or less which is pretty good in my book.
     
  17. macrumors 68030

    Joined:
    Feb 13, 2012
    Messages:
    2,660
    Location:
    Perth, Western Australia
    #17
    If you leave some pages open (facebook being a prime example) some of them leak memory via javascript and just continue to use more and more memory.
     
  18. macrumors regular

    sparky1499

    Joined:
    Oct 5, 2008
    Messages:
    190
    Location:
    Glasgow, UK
    #18
    even when javascript is already disabled in the Safari preferences>security tab?
     
  19. macrumors 65816

    Joined:
    Oct 24, 2002
    Messages:
    1,071
    #19
    Thanks for the tip. This has been driving me nuts. When I checked, AdBlocker was using 1.5 gigs of RAM.
     
  20. macrumors 6502a

    turtlez

    Joined:
    Jun 17, 2012
    Messages:
    976
    #20
    yep safari adblock is the main reason I am using chrome. Today's internet is painful without ad block.
     
  21. macrumors 6502

    Joined:
    Apr 3, 2012
    Messages:
    262
    #21
    You can replace / 'enrich' your host file by using hosts file from someonewhocares.org/hosts. Will be similar with Adblock but no additional program needed.
     

Share This Page