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 54 of 64 last Next
  • by William Kucharski,

    William Kucharski William Kucharski Jul 16, 2012 4:55 PM in response to disconnected
    Level 6 (15,232 points)
    Mac OS X
    Jul 16, 2012 4:55 PM in response to disconnected

    It's not "more effective."

     

    All purge does is empty the system caches, forcing the system ro reload everything it might want from disk.

     

    That makes "memory used" stats look really good, but it's of dubious value to a running system except is certain special circumstances.

     

    It's exactly like dragging your "Applications" folder to the Trash, selecting "Empty Trash" then noticing, gee, you've got a lot of free disk space.

  • by Beatrice Toronto,

    Beatrice Toronto Beatrice Toronto Jul 22, 2012 11:06 AM in response to Joel Bruner1
    Level 1 (0 points)
    Jul 22, 2012 11:06 AM in response to Joel Bruner1

    That is my problem, precisley. Thanks for articulating it.

  • by nkko,

    nkko nkko Jul 22, 2012 11:42 AM in response to mightymilk
    Level 1 (0 points)
    Jul 22, 2012 11:42 AM in response to mightymilk

    Does anybody know did a new Mountain Lion solved the memory problem?

  • by Allan Eckert,

    Allan Eckert Allan Eckert Jul 22, 2012 2:50 PM in response to nkko
    Level 9 (54,117 points)
    Desktops
    Jul 22, 2012 2:50 PM in response to nkko

    Mountain Lion has not been released yet, so no one knows.

     

    Allan

  • by nkko,

    nkko nkko Jul 23, 2012 1:19 AM in response to Allan Eckert
    Level 1 (0 points)
    Jul 23, 2012 1:19 AM in response to Allan Eckert

    I know, but many of those who for months have tested Mountain Lion surely collected some insights on memory problem.

     

    Nino

  • by Allan Eckert,

    Allan Eckert Allan Eckert Jul 23, 2012 6:34 AM in response to nkko
    Level 9 (54,117 points)
    Desktops
    Jul 23, 2012 6:34 AM in response to nkko

    But they had to sign an NDA to do it. I know because i am one of them and I will say no more on Mtn Lion.

     

    Allan

  • by Bobdc6,

    Bobdc6 Bobdc6 Jul 23, 2012 6:49 AM in response to nkko
    Level 1 (4 points)
    Jul 23, 2012 6:49 AM in response to nkko

    A logical extension to your question would be that if Apple fixed the problem in Mountain Lion, will they also fix it in Lion, an OS that a lot of us are stuck with due to hardware limitations.  Bill Gates is smiling (I bet that he has an Apple computer to play with!).

  • by nkko,

    nkko nkko Jul 23, 2012 7:55 AM in response to Bobdc6
    Level 1 (0 points)
    Jul 23, 2012 7:55 AM in response to Bobdc6

    The main reason that I will upgrade to Mountain lion is just the memory problem. But what to do if even in ML this problem isn't solved?

  • by Bobdc6,

    Bobdc6 Bobdc6 Jul 23, 2012 8:09 AM in response to nkko
    Level 1 (4 points)
    Jul 23, 2012 8:09 AM in response to nkko

    If it is truly an Apple problem, then they will have to solve it or become MS.

  • by nkko,

    nkko nkko Jul 23, 2012 8:20 AM in response to Bobdc6
    Level 1 (0 points)
    Jul 23, 2012 8:20 AM in response to Bobdc6

    People are complaining that they had the same problem before the Lyon, during the time of Snow Leopard, even earlier. It's not fair to buy a Mountain Lion and does not know in advance if this issue is resolved or not. Sometimes I am feeling like I'm wasting money in casino.

  • by William Kucharski,

    William Kucharski William Kucharski Jul 24, 2012 12:23 AM in response to nkko
    Level 6 (15,232 points)
    Mac OS X
    Jul 24, 2012 12:23 AM in response to nkko

    No one has a gun to your head forcing you to upgrade.

     

    Wait until you find out if it does what you want or don't upgrade.

  • by makfor,

    makfor makfor Jul 24, 2012 12:36 AM in response to mightymilk
    Level 1 (0 points)
    Jul 24, 2012 12:36 AM in response to mightymilk

    my problem solved after i DELETE all my Wallpaper images !!! i think that the problem was when the OS load big images , not too big but i think that happen when the image was over 1MB or maybe 2MB , my biggest image was 8MB !!! i delete all big images and i leave only images up to 1MB and now i dont have a problem

     

    i use 3 virtual desktops !!!

  • by ilias_l,

    ilias_l ilias_l Jul 26, 2012 7:53 AM in response to makfor
    Level 1 (0 points)
    Jul 26, 2012 7:53 AM in response to makfor

    I wrote this script to be run every 10 minutes via a crontab job and it solved my problems. It runs purge when free memory gets below 250MB. I get the free memory by parsing the "top" command line output.

     

    Hope it helps.

    Ilias

     

     

    #!/bin/bash
    
    
    MM=`top -l 1 -n 0 | awk '/PhysMem/ {print $10}' |sed s/M//g`
    echo "Free Memory:" $MM
    
    if [ "$MM" -le "250" ]; then
        echo "Free memory is running low: " $MM"MB. Releasing now..."
        purge
        exit 0
    else
        echo "Memory ammount" $MM"MB does not meet purge threshold."
        exit 0
    fi
    
    

     

    To make it run every 10 minutes type in console

     

    crontab -e
    

     

    And then in the configuration file add (replace the path to the path where you saved the script (it has to be exectuable):

     

    */10 * * * * /Users/xxx/pathToYourScript
    
  • by codefish46,

    codefish46 codefish46 Jul 30, 2012 2:00 PM in response to mightymilk
    Level 1 (0 points)
    Jul 30, 2012 2:00 PM in response to mightymilk

    Download and install the latest Flash Player from Adobe's website. (Deselecting "enable java" under Safari prefs also slows down the CPU usage, but then disallows java from running in the browser.)

     

    This should fix the problem.

     

    Good day to you!

  • by nkko,

    nkko nkko Aug 20, 2012 1:05 PM in response to Bobdc6
    Level 1 (0 points)
    Aug 20, 2012 1:05 PM in response to Bobdc6

    No reaction to the mountain lion. It seems that the memory problems are solved. Who was it who claimed that the uncontrolled growth of inactive memory is normal?

first Previous Page 54 of 64 last Next