"purge" Command

Discussion in 'OS X Mavericks (10.9)' started by !!!, Aug 10, 2013.

  1. !!! macrumors 6502

    !!!

    Joined:
    Aug 5, 2013
    #1
    I have noticed that the "purge" command doesn't work in 10.9. Does anyone know what command does work to purge inactive memory???
     
  2. w0lf macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #2
    Code:
    sudo purge
    then enter your password
     
  3. !!! thread starter macrumors 6502

    !!!

    Joined:
    Aug 5, 2013
  4. slide023 macrumors member

    slide023

    #4

    Did you first set your root password with this command? : sudo passwd
    After doing so; sudo purge will work fine.

    Slide023
     
  5. !!! thread starter macrumors 6502

    !!!

    Joined:
    Aug 5, 2013
    #5
    What I am doing

    I am trying to create a AppeScript that can run on OS X 10.9. The old "purge" command worked on 10.8 without a root password
     
  6. w0lf macrumors 65816

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #6
    And now it requires sudo. There is no alternative afaik. What is the purpose of the script you're trying to make?
     
  7. benwiggy macrumors 68020

    Joined:
    Jun 15, 2012
    #7
    Memory management is COMPLETELY different in 10.9.

    The grounds for running "purge" on earlier OS versions are dubious at best.

    Even if purge was a fix for some "problem", there is no reason to assume that you will need to run the same fix on Mavx. Activity Monitor doesn't even report a value for Inactive Memory -- most likely to stop people freaking out over it. ;-)
     
  8. Macman45 macrumors demi-god

    Macman45

    Joined:
    Jul 29, 2011
    Location:
    Somewhere Back In The Long Ago
    #8
    As above.. I stopped using it a while back....shouldn't be required in normal use now.
     
  9. jafingi macrumors 65816

    jafingi

    Joined:
    Apr 3, 2009
    Location:
    Denmark
    #9
    Actually, it does. Inactive Memory is called App Memory now.

    However, I agree with you. RAM management in Mavericks is much improved, so I don't think anyone needs to care about purge or such things.
     
  10. maflynn Moderator

    maflynn

    Staff Member

    Joined:
    May 3, 2009
    Location:
    Boston
    #10
    I thought I read somewhere that the purge command doesn't work in 10.9. I could be wrong, but I vaguely recall something like this.

    As for the use of it. I'd agree the benefits were dubious at best.
     
  11. Bear macrumors G3

    Joined:
    Jul 23, 2002
    Location:
    Sol III - Terra
    #11
    Pretty much this. There were some memory management issues that existed in 10.7.x before the first security patch after 10.7.5 that could require the use of purge for some people. OS X 10.8.4 memory management seems to work similar to 10.7.5 plus the security patch. I haven't needed to use the purge command at all since 10.7.5 plus security patch. I went from 10.7.5 to 10.8.4 on the system in question.

    I suspect that purge will not be needed in Mavericks except for some developers running certain tests on their applications.
     

Share This Page