You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion - Memory Usage Problems

Why is Lion using all 4GB of RAM running Mail, Safari (2 tabs), and iTunes? Snow Leopard was bad enough at handling memory, eating up every available byte and Lion seems to be arbitrarily using even more RAM. Windows 7 has zero problems handling RAM, there's no reason OS X shouldn't be able handle memory properly.


Can someone explain what Apple is doing here? I'm at a total loss. For users who just need Safari, Mail, and iTunes... I guess this works. But how am I expected to reliably run Logic, Final Cut, or Aperture with OS X using every available resource for Web Surfing, E-mail, and Music. This is totally unacceptable for a multi-million dollar software company greated towards professionals as well as consumers.


The following responses are not acceptable by the way:


  • Buy more RAM - I did that already, it will eat up 2/4/8GB, doesn't matter. Not to mention Apple still sells numerous 2/4GB confirgurations.
  • Buy a newer/more powerful Mac - this is a improper handling of memory issue, not a hardware issue.


I'd really love some insight into this. Thanks for reading.

MacBook Pro, Mac OS X (10.7), 13" (late-2009)

Posted on Jul 21, 2011 5:45 AM

Reply
957 replies

Aug 8, 2011 9:05 PM in response to John Kitchen

thanks John.


At 32bit, the memory usage of safari, including safari web content has decreased. However Safari web content is still at a very high level at 800Megs even at 32bit. Better but still not good.


I've also started using Chrome to see it would be better. I don't use them at the same time though but I try to be conscious of their resource usage. I really like the gestures in safari but i am in the process of reconsidering using this app.


My thoughts and frustrations:

For the first time in 20 years, I shifted to a mac from a Sony Vaio S series (i5 processor, 4Gig). And now that I have a quadcore laptop with 8Gig, I find myself getting caught up with power and memory usage, not to mention temperature.


I have gone thru the old macs like the Mac Plus, The 5300Ce, the Duo 230's and the 540c's but I have never been confronted with a computer that is so demanding of my time.


I AM EXTREMELY FRUSTRATED THAT A 2.2GHZ QUADCORE IS LEFT PAGING OUT BY A WEB BROWSER OPERATING HOT WITH A FAN UNDERNEATH FOR ONLY 3 HOURS.


My wife, with a Toshiba Netbook is becoming more productive than me with her computer.


LET ME BE MORE SPECIFIC WITH MY FRUSTRATION!


******APPLE SHOULD HAVE DISCLOSED THESE PROBLEMS BEFORE RELEASING OS LION!!!!****

Aug 8, 2011 9:15 PM in response to jesslorenzo

jesslorenzo. I understand your frustrations.


May I suggest you document your situation and opinions and give them to Apple at http://www.apple.com/feedback/macosx.html


I think there are quite a few limitations in Lion which should have been clearly communicated in the app store and in the OS X web pages, and I, for one, have taken the time to point this out at the above link

Aug 8, 2011 10:05 PM in response to mightymilk

Why do you all care if Safari or other apps use memory? That's a good thing.


"Free" memory is wasted memory; a good operating system should cache as much as it can in RAM to avoid possible future I/O. The same is true for applications such as web browsers, which like to cache content it would otherwise have to re-download from the Internet. Most browsers use cache files, so you can see the obvious performance improvement if that cacheing can be done in RAM instead. If all you're running is Safari your performance is needlessly suffering if Safari isn't using as much RAM as it can to avoid having to read and write cache files on disk, and the OS should use as much of RAM as it can without interfering with other apps for the same reason - to avoid disk I/O.


This should only be a problem if the OS doesn't effectively release the inactive memory for use by other applications on an as needed basis; having to watch a UI pinwheel for several seconds isn't "effectively."


So are all of you seeing pinwheels or just objecting to the numbers in Activity Monitor?

Note that hangs/spins are not normal operation, but it's no big deal if Safari is using all of RAM as long as the inactive memory is effectively reclaimed when needed.


So, long story short - using all available RAM is not a bug.


Not effectively freeing up the RAM when it's needed elsewhere is.


The key is which behavior you're actually experiencing; hangs are not necessarily a symptom of this, though they can be (the test would be to see if those hangs never occur on systems with most RAM free.)


Among other things, that's what the pageout stats should be showing.

Aug 8, 2011 10:15 PM in response to Dogcow-Moof

@William.... It doesn't release the memory even after you quit.


Just before I answered this, Safari, including Safari Web Content reached 1.5Gig. Even after I quit safari, my MBP 2.2ghz 8Gig ram was paging memory and was having hickups running microsoft word.


For the record, I am only running Microsoft Word, Mail, Hit List, Evernote. have not even started vid editing yet and my mac is already running as if I was rendering something with premier of final cut.


So... to answer your question. My complaint is not what I see in the activity monitor. It is the fact that I have to look at the activity monitor because I see colorful beach balls often.... even while just using microsoft word. I think an Intel Atom can handle this work better.


Whether or not LOST or UNCLAIMED Ram is used somewhere by my mac is not efficient for me because it is using it for work I did not ask my laptop to do.


Right now, I have to restart my mac to free up memory.

Aug 9, 2011 1:33 AM in response to jesslorenzo

Quitting an application will do nothing to affect inactive memory blocks used for disk cache, nor should it.


As a simplistic example, if you were say running Photoshop, then quit, then relaunched it because you forgot to do something, it is much faster to reload the application from cache blocks in memory than to go all the way out to the disk, traverse file system structures and reload it from there. Actually, it's even faster to reload it from a pageout swap file than to reload it from the file system, but I digress.


Even if you had to look at a pinwheel, odds are it would be faster to launch from cache or the swap file than to reload it from disk.


The problem comes if you are prevented from doing other work by this.


In all honesty, Apple's VM system is getting better but is still rather immature as compared to an OS that's been around for decades like Solaris or even Linux.

Aug 9, 2011 2:07 AM in response to Dogcow-Moof

@stamatgeorge: thanks. I just installed the Java runtime and I'm trying to see if it solves anything. I've also sent my feedback to apple.


@William: I appreciate your effort in explaining virtual memory. I can see you are way ahead in making sense of this mess. However, your explanation does not provide any comfort or solution to the me. I find it frustratingly strange that I see pinwheels when I'm just typing in MS Word. This is something I never saw while I was using windows 7 just a month ago.


I suppose the frustration here is how many of us are trying to get a handle on how we can address these several issues that crop up out of this new OS. And this frustration is unabaited due to Apple's silence or lack of acknowledgement of these bugs. This frustration is rooted with the fact that they released this OS without disclosure of these problems. I hope Apple realize that many people can become patient if they are transparent.


In all this, I still believe that the mac is an excellent laptop. The first time I used my macbook pro, after a few hours with Snow Leopard, I said to myself.... "Oh, indeed, I've been missing a lot." I saw how people love the mac. It is much simpler and elegant.


...but OS Lion is another story for me.


I am still waiting a while. I am still hoping they fix this mess. I'll give it 10 more days before I bite the bullet and reformat my hard drive to switch back to snow leopard.

Aug 9, 2011 3:29 AM in response to Dogcow-Moof

I have a 2009 17" MBP with 8gbs of memory. 80% of the time I have Safari, Mail and iTunes open. Why should I ever have page-outs? Why, out of 8gbs, do I end up with over 5gbs of "Inactive Memory", 1.5gbs of used memory with nothing but Mail open? Do you know what happens next if I decide to go to Netflix and watch a flic? Page-outs. That's not good memory management, IMO.


Correct me if I'm wrong but I believe page-outs creatate extra processor and disk activity - beach balls and slow downs.


Besides, after a fresh, clean install of Lion, before installing any other programs, I use the three said programs, watch "Inactive" memory shoot to a whopping 700mb, then begin to drop down on its own 28mb. It cycles up and down between those ranges.

Lion - Memory Usage Problems

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