Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
OK. You're running a "shell" 5.0.5 over the top of your 5.1 core. Mail and the rest will use the 5.1 engine and 5.0.5 is using some of the 5.1 as well. Not "really" running 5.0.5.

Cheers for that, makes sense

dont want to mess around with anything else in case it breaks other parts of the system

just hoping some of the issues I had with 5.1 are bugs and will be fixed in next release, can easily revert back to 5.1
 
Yeah. I wish it was as easy as copying the .app to a directory:) I'd run version 4 or something.
 
I've called tech support about this and another problem. You get 90 days free support after buying Lion. So, if your machine is past the warranty period, you're still covered for Lion.

The first person I talked to eventually passed me to a Senior Advisor after several failed attempts to solve my problems.

Concerning the "memory leakage" with Safari, the Senior Advisor had me delete ALL of my extensions in Safari (by going to my USER library and deleting my internet plugins from that specific folder. (Keep in mind, Apple hides your USER library now and you have to press "alt" and click "go" when you're at your home folder in Finder. I now need to monitor Safari and, if really necessary, re-install extensions 1 by 1 if I really need them (as such sites might). (Technically I didn't delete all of my extension - but rather moved them to a new folder on my desktop for temporary safekeeping).

So, if you're having it, CALL Apple so that they know about it. They can't fix something if they don't know it is broken. And, everyone's Mac is configured differently (and with different hardware). They have to do research to find out where the problem is coming from. It may be a Lion problem with a particular Mac, configuration, etc. They can't get that information via reading MacRumors threads.

By the way, if the problem is significant enough (after multiple attempts to fix it), they can do a "Capture Date" request and get error messages to help them diagnose the problem. This is what they did to look at why my MBP wouldn't go to sleep upon closing the lid. They essentially e-mail you a program, you run it and then e-mail them (the Senior Advisor) the results. It then it gets passed to the techies.

By the way, neither person (including the Senior Advisor) had heard of the Safari memory leakage problem - or the problem with laptops not sleeping when the lid gets closed. Apparently not too many people are calling to express their issues.
 
I can only open around 3-4 tabs before the performance of my Macbook drops considerably. I was running Sims 3 while Safari was open in the background and the performance was unbearable until I closed it.

Currently using Google Chrome until the issues are fixed. Its a shame because I like the UI update to Safari, especially the new Downloads bit.
 
I found a temporary solution: turn on private browsing in safari.

Go to Safari > Private Browsing

Now there is no history nor caches, safari has been using a lot less memory and also responsive after running for a few hours now :D

I don't know if I should be happy or not but this is definitely one of the culprit of the memory hog and sluggishness for safari. Apple needs to fix it. I would suggest them to use a separate process for that, and should prioritize for web content not caching and history preview thumbnails ....


But anyway, try it. See if it works for you.
 
Here is my Safari memory usage. Insanely huge imo.

Also Lion refuses to use my inactive memory. It just sits there unused while my computer pages out, until I purge it through terminal. This is the case for all 3 of my Macs. Lion's memory efficiency is lacking severely.
 

Attachments

  • Screen Shot 2011-08-05 at 3.12.32 PM.png
    Screen Shot 2011-08-05 at 3.12.32 PM.png
    17.2 KB · Views: 252
Here is my Safari memory usage. Insanely huge imo.

Also Lion refuses to use my inactive memory. It just sits there unused while my computer pages out, until I purge it through terminal. This is the case for all 3 of my Macs. Lion's memory efficiency is lacking severely.

That's why I disable dynamic_pager

http://www.willreese.com/?p=29

Disable it and it will use all your memory but be WARNED if you run out of memory your computer will come to a halt and cannot recover unless you restart.
 
Tried Google Chrome (including the Canary version) and has the same problems as Safari (memory hog). The only difference is that opens a different process for each tab. Each one (tab) using at least 40mb. LifeHacker using 110mb. Another 100mb for Adobe Flash renderer and voila, the same $#!T. Chrome with 5 tabs open and you have 600mb.

Firefox is not far behind. CNN, Ars and LifeHacker together use 240mb RAM. Having more tabs open...

So in the end, it is all the same crap.
 
Try this...

I think I may have a solution, it's worked for me so far....

I went into my /Libarary/Internet Plug-Ins/ folder and moved a bunch of plugins into Disabled Plug-Ins. I've attached a screen shot of the plug-ins I've left behind.. not many but hey Safari runs alot smoother. Give that a shot and see if it fixes things. I don't have the time right now to test each individual plugin I've disabled to find the offending plug-ins it's late in EST. I've attached an image that shows the plug-ins I've left behind. Don't forget to restart safari.

attachment.php
 

Attachments

  • Screen Shot 2011-08-14 at 2.11.17 AM.png
    Screen Shot 2011-08-14 at 2.11.17 AM.png
    19.6 KB · Views: 3,284
I have a suggestion that seems to have reduced memory usage for me, (and at the very least will free up a good amount of hard disk space for you) which is to disable the creation of "top sites" screenshots by safari. Of course this removes this feature, but I found it annoying anyway so its no great loss. The way to do this is to remove the topsites buttons from the bookmarks bar and new tabs pages so you don't hit is accidentally and then delete the contents of the user>library>cache>com.safari...>website previews folder and lock that folder to prevent safari from creating any new website preview images. Safari had over 300mb of .png and .jpg screenshots of websites in that folder for me.

Its my suspicion that as time went on it was loading more and more of these into the background (which might be why the "safari web content" size did not seem to bear much relation to the number of tabs open). I don't have any proof of this except that anecdotally that the new tab page was always slow (unlike the blank page I now have new tabs set too) and that I have not had a swelling memory usage bug for a few days. Either way it was an annoying feature anyway and I am glad not to have it any more.
 
Tried Google Chrome (including the Canary version) and has the same problems as Safari (memory hog). The only difference is that opens a different process for each tab. Each one (tab) using at least 40mb. LifeHacker using 110mb. Another 100mb for Adobe Flash renderer and voila, the same $#!T. Chrome with 5 tabs open and you have 600mb.

Firefox is not far behind. CNN, Ars and LifeHacker together use 240mb RAM. Having more tabs open...

So in the end, it is all the same crap.

The difference with Chrome is that once you close Lifehacker, you get those 110 mb back. Not if you're using any other browser.

I have a suggestion that seems to have reduced memory usage for me, (and at the very least will free up a good amount of hard disk space for you) which is to disable the creation of "top sites" screenshots by safari. Of course this removes this feature, but I found it annoying anyway so its no great loss. The way to do this is to remove the topsites buttons from the bookmarks bar and new tabs pages so you don't hit is accidentally and then delete the contents of the user>library>cache>com.safari...>website previews folder and lock that folder to prevent safari from creating any new website preview images. Safari had over 300mb of .png and .jpg screenshots of websites in that folder for me.

Its my suspicion that as time went on it was loading more and more of these into the background (which might be why the "safari web content" size did not seem to bear much relation to the number of tabs open). I don't have any proof of this except that anecdotally that the new tab page was always slow (unlike the blank page I now have new tabs set too) and that I have not had a swelling memory usage bug for a few days. Either way it was an annoying feature anyway and I am glad not to have it any more.
Safari makes two previews for each website you visit yes. Disable it by putting "defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2" into the terminal. That's the first thing I do on a new machine.
 
I started using firefox again I always liked it best but it was getting to be a problem. so far one day use and it has not gotten carried away with memory. I don't want to sue safari as it will not sync with my windows computer at work.
 
Tried Google Chrome (including the Canary version) and has the same problems as Safari (memory hog). The only difference is that opens a different process for each tab. Each one (tab) using at least 40mb. LifeHacker using 110mb. Another 100mb for Adobe Flash renderer and voila, the same $#!T. Chrome with 5 tabs open and you have 600mb.

Firefox is not far behind. CNN, Ars and LifeHacker together use 240mb RAM. Having more tabs open...

So in the end, it is all the same crap.

It isn't remotely the same.
 
Here is my Safari memory usage. Insanely huge imo.

Also Lion refuses to use my inactive memory. It just sits there unused while my computer pages out, until I purge it through terminal. This is the case for all 3 of my Macs. Lion's memory efficiency is lacking severely.

I had the same problem with the latest Safari except for that I'm running Snow instead of Lion. I just gave up and switched to Opera, works great but unfortunately doesn't have some of the nice features Safari has.

That's the thing with Safari, it gives you lots of really neat features like the Activity Window but it eats memory like it's candy.
 
found

After a little research (I am common user) found that a memory leaking problem almost disappear if not used new Lion's options - full size APP screen. I had a big memory leak, which is growing every minute, so that now almost stopped. But, lost a full screen size as well as many gestures in Safari. So, if this proves true, it is clear where the problem could be.

Prague,
Czech Republic
 
Just for the record, after upgrading to 10.7.1, it seems the memory leak is fixed, no longer needed to disable javascript (procedure that "fixed" the memory leak for my safari).
 
I disabled my adblock extension I gained x2 the resources back.

After reading a couple of posts about disabling the adblock extension I decided to try it. I uninstalled and I can see a noticeable difference in memory usage (I will edit this post as this day goes on). My memory leak is not so bad that Safari becomes unusable, but I do notice "safari" and "safari web content" memory usage always around 125MB & 200MB respectively after an hour of surfing the web (which is pretty normal).

However, it starts to ramp up slowly over time. Depending on what websites I visit (perhaps some are more memory intensive than others) the memory easily kicks up to 500MB and 300MB respectively for "safari web content" and "safari."

"Active memory" usage total gets high...of course (because this monitor includes all processes utilizing memory), but even after closing multiple tabs and leaving a single tab the OS doesn't recover the unused memory from Safari back into "Inactive Memory," which if I'm not mistaken is a sort of buffer for recently used memory.

Well I am going to do some heavy web surfing leaving Safari open and see where my memory stands. I will upload screenshots of right after the adblock extension uninstall and 5hrs+ of web surfing later.

EDIT:

It seems that AdBlock was causing Safari 5.1 on my MBA to use more RAM. Here are the screen shots of right after uninstalling Adblock and +2hrs of internet surfing. A significant difference from before. I've also read quite a few posts from around the web regarding Adblock and various extensions causing RAM usage to spike.

This is not the case for everyone and certainly not the solution. But for me it seems to be the case. It's not as if I couldn't have kept the extension activated...as I mentioned before it never went high enough to disable my browser. I guess I will just surf the internet with ads and see if the annoyance bothers me enough to re-intall the extension.

I do have Click2Plugin still installed and that seems to help a little since many ads are flash based.
 

Attachments

  • 2.png
    2.png
    274.9 KB · Views: 158
  • 1.png
    1.png
    246.2 KB · Views: 159
Last edited:
However, it starts to ramp up slowly over time. Depending on what websites I visit (perhaps some are more memory intensive than others) the memory easily kicks up to 500MB and 300MB respectively for "safari web content" and "safari."
This is just normal behavior. And that is why Chrome is great, because it actually gives back memory after closing tabs (because of each multi-processor architecture).

I guess I will just surf the internet with ads and see if the annoyance bothers me enough to re-intall the extension.
There is still a number of solutions to block ads (although maybe not as easy to set up), I myself have used Javascript Blacklist and host file blocking with great success.
 
Is there a way to purge (clean memory) only for Safari? Sometimes it uses all the RAM and I can't close and reopen Safari.
 
Is there a way to purge (clean memory) only for Safari? Sometimes it uses all the RAM and I can't close and reopen Safari.


From my experience, you can always close the "Safari Web Content" process trough System Monitor, without closing safari. The webpages will reload, as it's cache is gone.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.