mightymilk

Q: 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:47 AM

Close

Q: Lion - Memory Usage Problems

  • All replies
  • Helpful answers

first Previous Page 19 of 64 last Next
  • by jhedges3,

    jhedges3 jhedges3 Aug 9, 2011 2:15 PM in response to mightymilk
    Level 1 (0 points)
    Aug 9, 2011 2:15 PM in response to mightymilk

    R C-R imagine if you will thousands of pages here, all filled with people describing this basic phenomenon: upgrade to Lion and Safari 5.1 is consuming what seems to be large amounts of memory, and under normal usage am experiencing slowdowns that had not experienced before, the slowdown is reflected in increased memory usage in Activity Monitor. Would you therein continue to unpack the complexities allocation, purging, consumption, estimation, in what continue to be somewhat interesting, albeit esorteric and ultimately useless posts. To you and everyone else who carries on in that way, what I believe people want are solutions. They want to be able to use their machine in a way their consider normal and not have it slow to a crawl. If you cannot offer them any, why not say that? Is it really meaningful for you to essentially attempt to persuade people that what they see is not reality and to essentially defend what may actually be errors on Apple's part?

  • by Atomic Al,

    Atomic Al Atomic Al Aug 9, 2011 2:21 PM in response to babowa
    Level 2 (415 points)
    Aug 9, 2011 2:21 PM in response to babowa

    babowa wrote:

     

    Well, you've been fortunate. As for disk space - or mentioning a "leak" - you do know that there is a new feature called snapshots (part of TM) on laptops - makes continuous backups when not home (home meaning not attached to a TM drive) which will not be wiped until TM catches up. So it could be that is what you're experiencing.

    Fortunate or the newer iMac knows (knew before Lion?) how to handle available HD space without throwing me beachballs and turning into a G3 .

     

    The leak or what-ever it might be has to do with Safari and RAM, I think and not HD space available - TM and snapshots work fine on the laptop - Safari doesn't. This is something common on both machines.

  • by R C-R,

    R C-R R C-R Aug 9, 2011 4:06 PM in response to Michelasso
    Level 6 (17,700 points)
    Aug 9, 2011 4:06 PM in response to Michelasso

    Michelasso wrote:

    However this is only part of the problem. The supposed memory leak simply exposes what is possibly a bug in the memory management system of Lion. As previously discussed, the fact that by design Lion pages out instead to free [plenty of] inactive memory would be ********.

    You can't tell why memory is being paged out, nor if it is freeing up memory that is immediately used by some other process, at least not with tools like Activity Monitor or iStat. If you don't believe that, do your own research. There have been several references in this long thread to the developer documentation from Apple. If that is too complicated to follow, at least check out the Wikipedia entry for memory leak.

     

    All this "supposed" & "possibly" stuff will get you nowhere. Tracking memory management is not easy even for programmers with access to source code. Just guessing about what is happening from tools never designed to show that is futile, at least if you are looking for answers that could solve your memory use issues.

     

    Someone asked why I keep repeating this stuff or if I think it could help. To that I ask, if you don't know what is causing a problem, how do you expect to eliminate it?

  • by babowa,

    babowa babowa Aug 9, 2011 5:55 PM in response to Atomic Al
    Level 7 (32,379 points)
    iPad
    Aug 9, 2011 5:55 PM in response to Atomic Al

    Yes, I'm well aware of the Safari problem - one of the reasons I am using Firefox ( also simply prefer it).

  • by coachdriver,

    coachdriver coachdriver Aug 9, 2011 6:46 PM in response to mightymilk
    Level 1 (0 points)
    Aug 9, 2011 6:46 PM in response to mightymilk

    I too am seeing Lion using all the RAM...I run Aperture 3 and have 8G of Ram on a MacBook Pro 17in...I keep the "activity monitor" running in my dock and displaying the pie chart for ram usage so I can keep an eye on it...I know Aperture is a memory hog but as you state I noticed Lion has that "web page content" which steals a lot. I did not have this issue before Lion..I do still like Lion, however. I do one of 2 things...when I see the pie chart with little green I open the activity monitor and "end task" on web content and some others I might not be using at the time...I run Parallels which is also a mem hog..

     

    But here is one thing I just started using about a week ago and so far so good...from the App store a free download of ICleanMemory...small app and it seems to be able to find Ram that is not being used and freeing it up...you can have it run up in the top bar and just a click and another click to optimize seems to work well..

     

    I do agree what is Apple thinking...People always talked about the system RAM windows Vista used so whay would Apple not want to avoid the same criticism

  • by jesslorenzo,

    jesslorenzo jesslorenzo Aug 9, 2011 9:27 PM in response to ayrtonoc
    Level 1 (0 points)
    Aug 9, 2011 9:27 PM in response to ayrtonoc

    Booting at 32bit is working so far.... no memory leaks.

  • by stamatgeorge,

    stamatgeorge stamatgeorge Aug 9, 2011 10:55 PM in response to William Kucharski
    Level 1 (115 points)
    Mac OS X
    Aug 9, 2011 10:55 PM in response to William Kucharski

    Everyone, please read this link with the 2 posts in that link: https://discussions.apple.com/thread/3252430

     

    I noticed that "When Safari 5.1 becomes buggy, page goes blank & spinweel starts, then I noticed in Console it creates a webprocess Spin report" and  "I have noticed also that it creates a WebProcess log almost every minute. Everytime Safari lags and goes white it creates a WebProcess log."

  • by ayrtonoc,

    ayrtonoc ayrtonoc Aug 10, 2011 12:52 AM in response to jesslorenzo
    Level 1 (0 points)
    Aug 10, 2011 12:52 AM in response to jesslorenzo

    jesslorenzo wrote:

     

    Booting at 32bit is working so far.... no memory leaks.

     

    CVD, as i suspected, you give me another confirmation. Which system/memory configuration??

    Send a feedback to Apple for this!!

  • by jesslorenzo,

    jesslorenzo jesslorenzo Aug 10, 2011 1:26 AM in response to ayrtonoc
    Level 1 (0 points)
    Aug 10, 2011 1:26 AM in response to ayrtonoc

    MBP 15'' early 2011, 2.2 Ghz, 8Gig

    OS Lion

     

    Running Safari 5.1

    Photoshop

    MS word

     

    all is well even after 6 hrs.

  • by Michelasso,

    Michelasso Michelasso Aug 10, 2011 1:49 AM in response to R C-R
    Level 1 (88 points)
    Mac OS X
    Aug 10, 2011 1:49 AM in response to R C-R

    R C-R wrote:

     

    You can't tell why memory is being paged out, nor if it is freeing up memory that is immediately used by some other process, at least not with tools like Activity Monitor or iStat. If you don't believe that, do your own research. There have been several references in this long thread to the developer documentation from Apple. If that is too complicated to follow, at least check out the Wikipedia entry for memory leak.

     

    All this "supposed" & "possibly" stuff will get you nowhere. Tracking memory management is not easy even for programmers with access to source code. Just guessing about what is happening from tools never designed to show that is futile, at least if you are looking for answers that could solve your memory use issues.

     

    Someone asked why I keep repeating this stuff or if I think it could help. To that I ask, if you don't know what is causing a problem, how do you expect to eliminate it?

     

    That doesn't matter. I am not running an enterprise server. I have only a couple of applications open with well known "standard" resource requirements that in one case (Safari) more than doubles if compared to SL.

     

    As far as the why goes, it is indeed what we are trying to understand. What we suggest is that it shouldn't happen for the simple reason it wasn't happening before and that it has been noticed immediately. As soon as I upgraded to Lion Safari and the paging went crazy and many other people Which to me is more than a reason for Apple to look into its own code if Apple cares about its wn reputation.

     

    Yesterday I also used "leaks", "vmmap" and "vm_stat". These are the tools suggested by Aplle itself. I've got the link straight from the Activity Monitor help page: http://developer.apple.com/library/mac/#documentation/Performance/Conceptual/Man agingMemory/Articles/AboutMemory.html#//apple_ref/doc/uid/20001880-BCICIHAB

     

    Safari and WebProcess still using little memory were reported by "leaks" to have some small leaks. But I should try with AdBlock on to see if it reports anything more serious. More interesting has been to run "vm_stat" in my last test. It showed how starting another application (Chrome again) the free memory went down, then up getting pages from the inactive memory and paging out some stuff (only a couple of hundreds MB this time).  Let's say that this time it looked more like a reasonable behaviour. Thus I will need to repeat the test hoping to reproduce the worst case when Lion pages for nothing.

     

    Obviously we don't have the tools to dig what really is going on. And we are not the Apple developers either. But some analysis is better than no analysis at all, isn't it? Especially if we desire to report the issue to Apple. Just denying it doesn't help at all. Simply because Lion in some machines is performing much worse than Windows 7 (not to mention Snow Leopard) doing the same activities. If it doesn't happen to someone it doesn't mean no bug is there either. There are people with more Macs saying that in one Mac Lion runs flawlessly, in another it is a nightmare.

  • by Michelasso,

    Michelasso Michelasso Aug 10, 2011 2:05 AM in response to jesslorenzo
    Level 1 (88 points)
    Mac OS X
    Aug 10, 2011 2:05 AM in response to jesslorenzo

    jesslorenzo wrote:

     

    Booting at 32bit is working so far.... no memory leaks.

    Unfortunately I have a late  2006 MacBook so I am forced by the EFI32 to run all (OS X) kernels at 32 bits and the memory consumption with large page outs it is there. I am pretty sure that is not a stable workaround.

  • by ayrtonoc,

    ayrtonoc ayrtonoc Aug 10, 2011 3:02 AM in response to Michelasso
    Level 1 (0 points)
    Aug 10, 2011 3:02 AM in response to Michelasso

    Michelasso wrote:

    Unfortunately I have a late  2006 MacBook so I am forced by the EFI32 to run

     

    Micheal, but if you have a 2006 macbook, you have only 2Gb of memory that is not "optimal" for Lion.

    So, if with 32bit kernel ad 4Gb to 8Gb the problem is resolved, it's a bug that could be corrected (i prefer to wrote MUST BE, but Apple could say that's a "by design" implementation).

     

    So, we can just wait for 10.7.2.

    If anyone has installed the beta update .2 could make some tests for us!

  • by mightymilk,

    mightymilk mightymilk Aug 10, 2011 4:05 AM in response to ayrtonoc
    Level 1 (24 points)
    Notebooks
    Aug 10, 2011 4:05 AM in response to ayrtonoc

    ayrtonoc wrote:

     

    Michelasso wrote:

    Unfortunately I have a late  2006 MacBook so I am forced by the EFI32 to run

     

    Micheal, but if you have a 2006 macbook, you have only 2Gb of memory that is not "optimal" for Lion.

    So, if with 32bit kernel ad 4Gb to 8Gb the problem is resolved, it's a bug that could be corrected (i prefer to wrote MUST BE, but Apple could say that's a "by design" implementation).

     

    So, we can just wait for 10.7.2.

    If anyone has installed the beta update .2 could make some tests for us!

     

    That's assuming he hasn't done any upgrades.  I upgraded my Mid-2009 13" MacBook Pro from 2GB RAM and a 160GB HDD, to 4GB of RAM and a 500GB HDD.  A lot people opt not to buy Apple upgrades because they're very expensive, instead choosing to buy the OEM hardware from companies like NewEgg for a fraction of the price and do it themselves.

  • by Michelasso,

    Michelasso Michelasso Aug 10, 2011 4:25 AM in response to ayrtonoc
    Level 1 (88 points)
    Mac OS X
    Aug 10, 2011 4:25 AM in response to ayrtonoc

    ayrtonoc wrote:

     

    Michelasso wrote:

    Unfortunately I have a late  2006 MacBook so I am forced by the EFI32 to run

     

    Micheal, but if you have a 2006 macbook, you have only 2Gb of memory that is not "optimal" for Lion.

    So, if with 32bit kernel ad 4Gb to 8Gb the problem is resolved, it's a bug that could be corrected (i prefer to wrote MUST BE, but Apple could say that's a "by design" implementation).

    Nope, 3GB. I know, just above the minimum limit. Still it usually gives me more than 1GB of available memory (free + inactive). It pages out if that GB is mostly inactive memory. I really wonder how a brand new MacBook Air 11" with 2Gb behaves. It seems starnge to me that Apple would sell a system that has just enough resources to run the pre-installed OS.

  • by mightymilk,

    mightymilk mightymilk Aug 10, 2011 4:41 AM in response to Michelasso
    Level 1 (24 points)
    Notebooks
    Aug 10, 2011 4:41 AM in response to Michelasso

    Michelasso wrote:

     

    ayrtonoc wrote:

     

    Michelasso wrote:

    Unfortunately I have a late  2006 MacBook so I am forced by the EFI32 to run

     

    Micheal, but if you have a 2006 macbook, you have only 2Gb of memory that is not "optimal" for Lion.

    So, if with 32bit kernel ad 4Gb to 8Gb the problem is resolved, it's a bug that could be corrected (i prefer to wrote MUST BE, but Apple could say that's a "by design" implementation).

    Nope, 3GB. I know, just above the minimum limit. Still it usually gives me more than 1GB of available memory (free + inactive). It pages out if that GB is mostly inactive memory. I really wonder how a brand new MacBook Air 11" with 2Gb behaves. It seems starnge to me that Apple would sell a system that has just enough resources to run the pre-installed OS.

     

    I wouldn't worry about it, this is most likely an issue Apple is aware of or at least investigating.  Apple is not in the business of selling an OS that doesn't run desirably.  If your hardware wasn't designed to run Lion, they would make the requirements incompatible with your machine.  Not to mention, we're seeing a wide variety of users affected from 2006-2011 models. 

     

    Apple do things differently than Micrsoft in this regard.  Microsoft has Minimum and Recommended Requirements.  Apple just has Requirements.

first Previous Page 19 of 64 last Next