The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Safari just EATS up memory

    Discussion in 'Apple and Mac OS X' started by blurb23, Mar 30, 2008.

  1. blurb23

    blurb23 Notebook Consultant

    Reputations:
    20
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    30
    I'm on an Alu iMac (specs in sig), and Safari just seems to completely eat up memory.

    My computer's been on for about 3 hours now (according to iStat Pro), and Safari is using up 153mb worth of RAM. I just emptied the cache, and it's still using 77mb, and that number rises very rapidly.

    Safari hasn't been running that whole time. I frequently close the window, and also quit the application. I haven't been watching any flash videos on YouTube or anything of the sorts, just looking at some images on websites and reading forums.

    Is there anything I can do to get Safari's memory usage down?
     
  2. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    If its accumulating RAM usage just sitting there, Safari likely has a memory leak. Memory leaks are issues that plague browsers, it seems.
     
  3. blurb23

    blurb23 Notebook Consultant

    Reputations:
    20
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    30
    Any way to cure it? Or at least slow it down somewhat?
     
  4. passive101

    passive101 Notebook Deity

    Reputations:
    36
    Messages:
    1,548
    Likes Received:
    0
    Trophy Points:
    55
    wait for a patch or use a different browser.
     
  5. ItsDaKronic

    ItsDaKronic Notebook Consultant

    Reputations:
    0
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    30
    My safari seems to lag lately. I click a link and open a new tab and it starts lagging for about 5 seconds. I think im gonna do a system cache clean with onyx or something to see if it does anything.
     
  6. Budding

    Budding Notebook Virtuoso

    Reputations:
    1,686
    Messages:
    3,982
    Likes Received:
    0
    Trophy Points:
    105
    Try deleting your cookies.
     
  7. blurb23

    blurb23 Notebook Consultant

    Reputations:
    20
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    30
    Doesn't Safari fail with cookies? It stores them linearly or something? So that it has to go through each and every cookie every time a request is made for one?
     
  8. Budding

    Budding Notebook Virtuoso

    Reputations:
    1,686
    Messages:
    3,982
    Likes Received:
    0
    Trophy Points:
    105
    Which is why I suggested deleting cookies in order to cure the lag ItsDaKronic's is experiencing. Of course his lag could be caused by something else, for example a corrupted file in the application package.
     
  9. Chris27

    Chris27 Notebook Deity

    Reputations:
    421
    Messages:
    955
    Likes Received:
    0
    Trophy Points:
    30
    Well compared to firefox, that isn't too bad. I just have 4 tabs open and its eating 132 mb.
     
  10. SGT Lindy

    SGT Lindy Notebook Consultant

    Reputations:
    17
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
  11. niemassacre

    niemassacre Notebook Evangelist

    Reputations:
    10
    Messages:
    384
    Likes Received:
    0
    Trophy Points:
    30
  12. r0k

    r0k Notebook Evangelist

    Reputations:
    104
    Messages:
    406
    Likes Received:
    0
    Trophy Points:
    30
    Throwing RAM at a memory leak is like building a 3-sided fort. I suggest shutting down Safari when you aren't using it. If I leave FF running "for days" it grows to fill available system resources. Memory leaks can come from browser code, add-ons, java, plug-ins, etc, etc, etc, which means they are very common. Another approach would be adblock for safari. By shutting down some of that flash-based ad content you might enjoy more browser stability.
     
  13. tasty_chicken

    tasty_chicken Notebook Consultant

    Reputations:
    43
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    30
  14. SGT Lindy

    SGT Lindy Notebook Consultant

    Reputations:
    17
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
    I am pretty sure the OP is on a iMac....and not a notebook.
     
  15. WilliamG

    WilliamG Notebook Deity

    Reputations:
    629
    Messages:
    1,421
    Likes Received:
    6
    Trophy Points:
    56
    I'm beginning to notice Safari eating a ton of memory, too. Just crazy. Quitting it and restarting helps, for a while, and I even emptied my cookies, too.
     
  16. Robgunn

    Robgunn Notebook Evangelist

    Reputations:
    163
    Messages:
    383
    Likes Received:
    0
    Trophy Points:
    30
    Most of the RAM is being eaten up by page caches and what not. If you have been visiting a lot of sites and don't need what you have cached, periodically go to safari>reset safari and clear all those caches out. You'll see that RAM usage usually goes down and then will start climbing again as you visit more sites.
    Its always a good idea to just quit safari when you don't need it anymore. The OS will eventually clean-up anything safari forgot to clean-up itself.
     
  17. WilliamG

    WilliamG Notebook Deity

    Reputations:
    629
    Messages:
    1,421
    Likes Received:
    6
    Trophy Points:
    56
    Jeez. I closed all its windows but left the actual application running, and it was eating 250MB just then. Crazy. Closing it and restarting the application seems to fix it, but for how long?

    Very interesting.
     
  18. Robgunn

    Robgunn Notebook Evangelist

    Reputations:
    163
    Messages:
    383
    Likes Received:
    0
    Trophy Points:
    30
    Hmm, mine seems to hover around 175MB only jumping to 200+ if I have a bunch of tabs open and haven't cleared anything for awhile.
     
  19. WilliamG

    WilliamG Notebook Deity

    Reputations:
    629
    Messages:
    1,421
    Likes Received:
    6
    Trophy Points:
    56
    Clearing the cache definitely helps. :)
     
  20. SGT Lindy

    SGT Lindy Notebook Consultant

    Reputations:
    17
    Messages:
    195
    Likes Received:
    0
    Trophy Points:
    30
    I agree that throwing RAM is not the answer. However if Safari was having a massive memory leak problem then we would be seeing LOTS of posts.

    That said RAM is super cheap, and 1gig is fine but Leopard will run much better on 2gig or more. So if he is going to crack open that iMac, YES ITS AN iMAC in his original post "I'm on an Alu iMac (specs in sig), and Safari just seems to completely eat up memory." for those who told me my link was for desktop ram......then he would be wise to max it out for $88. That RAM is top notch and has a lifetime warranty.
     
  21. niemassacre

    niemassacre Notebook Evangelist

    Reputations:
    10
    Messages:
    384
    Likes Received:
    0
    Trophy Points:
    30
    Sorry bout not realizing he was on an iMac, I'd forgotten that fact by the time I got down to the post about RAM and I default to assuming people are using notebooks, due to the nature of the forums.
     
  22. cannavaro-lt

    cannavaro-lt Notebook Guru

    Reputations:
    0
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    15
    Hey guise. I own a blackbook 2.4Ghz with 4Gb of RAM and it still is ting on me. It doesn't matter if I use firefox or safari 4. When I'm playing or watching flash based games, videos suddenly it eats like 200 RAM and that's not all It increases the processor usage to 110% :( That's why I'm going back to windows machine.
     
  23. WilliamG

    WilliamG Notebook Deity

    Reputations:
    629
    Messages:
    1,421
    Likes Received:
    6
    Trophy Points:
    56
    Sounds about right. Don't forget, your MAX CPU is 200%, since it's a dual core. 110% on intensive apps sounds right, and so does 200MB RAM.
     
  24. cannavaro-lt

    cannavaro-lt Notebook Guru

    Reputations:
    0
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    15
    But man, it doesn't sound right besides the friggin' 13.3inch laptop's fans start to yell at me and the heat is enormous :( never ever experienced this kind of thing on ma old dell, except when I watched HD movies :( But anyways like someone mentioned clearing up the cache helped me for a while :)
     
  25. jjahshik32

    jjahshik32 Notebook Deity

    Reputations:
    78
    Messages:
    1,333
    Likes Received:
    0
    Trophy Points:
    55
    Yea I'm surprised once in a while safari gobbles up 1gb or more.
     
  26. stylinexpat

    stylinexpat Notebook Evangelist

    Reputations:
    0
    Messages:
    454
    Likes Received:
    0
    Trophy Points:
    30
    I'm a bit new to Apple computers, how do you check how much memory it's using?
     
  27. ItsDaKronic

    ItsDaKronic Notebook Consultant

    Reputations:
    0
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    30
    Go to the apple site and look for a widget called iStat. Thats what I use
     
  28. Lyanowu

    Lyanowu Notebook Consultant

    Reputations:
    39
    Messages:
    294
    Likes Received:
    0
    Trophy Points:
    30
    I had a problem with safari when watching a clip in youtube. they were some very short lags, but just made me wonder what happened. I just got the macbook from amazon, so it is brand new with no other stuff going on.
     
  29. Lyanowu

    Lyanowu Notebook Consultant

    Reputations:
    39
    Messages:
    294
    Likes Received:
    0
    Trophy Points:
    30
    Another option is to type in checking the performance in the help menu and open activity monitor. :)
     
  30. lixuelai

    lixuelai Notebook Virtuoso NBR Reviewer

    Reputations:
    463
    Messages:
    2,326
    Likes Received:
    1
    Trophy Points:
    56
    iMacs take notebook memory AFAIK.