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

Feb 8, 2012 10:40 AM in response to gbullman

Ever since switching to Lion I've been having a lot of problems with memory getting eaten up mysteriously. I took a screenshots of activity monitor showing that after a full day of work, and after closing all open applications, I have 1 GB of active memory missing. Lion is definitely leaking memory throughout the day and the only way to prevent the system paging out memory is to restart.


http://i.imgur.com/ohBEF.png

Feb 8, 2012 12:00 PM in response to SeanChristmann

When I re-kicked off this thread a few months back it was because of exactly what SeanChristmann is describing plus it was also happening rapidly. In 2 minutes I would lose 7 GB of memory. Once I stopped using Safari the rapid consumption of memory stopped (mostly.) However, as SeanChristmass has articulated very clearly - I still have a lot of missing memory. Mine is often "inactive" memory - Active Monitor will graphically report 5 GB of inactive memory being used and 3 GB of other types. When I look at the list of items being consumed in inactive memory I can only see ~ 1.5 GB consumed. I then close all applications so active memory now only displays Finder as active and yet inactive memory is still at 4.5 GB but I can't see the items in the list. I then shut down and it repairs itself.


As this is my first time in the Apple MacBook world I worked endlessly with the Business Team at the Boston store. They even replaced my new machine a few times because it was confusing to them too. Finally they concluded I should stop using Safari and then just shut down periodically.


Honestly, all this makes me miss Windows 7 ... I just wish this Macbook wasn't so darn pretty.

Feb 8, 2012 12:30 PM in response to Mac_Boston

Have you ever had any problem with your computer not working because of the inactive memory? Inactive memory just means that the RAM holds the last used programs and files when shutdown in RAM as inactive. Its a feature not a bug. This is usually because people often use the same programs daily and so if held in ram, they open faster. However, Inactive memory releases and frees this memory when and as needed by "active" memory. So again, are you basically alarmed because you see this blooming of inactive memory, OR has this actually caused system slowdown or malfunction?

Feb 8, 2012 12:42 PM in response to Barry Fisher

I would like to agree with you. But here is most common (for me) problem - inactive memory usage is constantly growing, to the point that system start using swap file. At some point I can have all free memory depleted, a lot of inactive memory and a several gbs of swap space used, that all with strictly said the same set of openned applications, which if openned after reboot would left around 1 a gb free.


And I do not use any AV software.

Feb 8, 2012 12:51 PM in response to SeanChristmann

SeanChristmann wrote:


RCR, if you look at the image, you'll see that at the end of the day, "active memory" is over 1.7 GB, even though the apps running in activity monitor consume roughly the same as the beginning of the day when there is only 600 MB of active memory being used. That's 1 GB that the system simply cannot account for and never releases back.

Keep in mind that Activity Monitor does not show you a breakdown of how much active memory each process is using, just a total for all processes (real memory is not the same as active memory). Also note that at the beginning of the day (IOW, after startup & log in) not every running process is active. In fact, some background processes become active only when other processes are not, or in response to the activity of other processes. Some processes may not become active at all unless you perform some action that triggers that, & once triggered may not become completely inactive until much later.


Plus, Activity Monitor samples memory use at relatively long intervals compared to how quickly active memory can be reallocated among running processes so even though the total shown isn't changing from sample to sample, which processes are using it can change greatly between samples.


So basically, the amount of active memory shown by AM at the start of the day isn't a very good benchmark for comparisons with how it is used at any later time.

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.