Screen Shot 2012 09 10 at 18.28.47 300x79 Restore Purge command OS X 10.8.1Along with several small fixes in the recently recently released 10.8.1 update to Mountain Lion, the tech boffins over at Cupertino managed to ‘break’ the purge command. Now, as this isn’t a widely advertised OS X command, a fix should be along in the next OS X update all being well.

In the meantime, should you need to use the command to free up memory, you can use terminal to create a ‘soft symbolic’ link. Although this tricks OS X into allowing the command to be used, it’s not a permanent solution. Thus meaning it will be overwritten with the next update.

To do this, fire up Terminal then type or copy and paste the following commands:

cd /System/Library/PrivateFrameworks/CoreProfile.framework/Versions/A/Resources/Devices/  sudo ln -s osx-12.0.0.xml osx-12.1.0.xml

You may be prompted for your password, if so enter it as normal into the terminal window, bear in mind nothing will appear as you type your password.

Once done you will then be able to type purge into terminal to free up memory resources once more.

Tagged with:  
  • Marke Clinger

    Mike,

    I am really enjoying your MacOS X command line tips. I have been using the program FreeMemory, which takes forever and slows the computer down to a crawl. Thanks for this much more effective way to free up memory.

    Marke
    http://www.adigitalnomad.com

    • http://www.mikesel.info/ Mike Hudson

      Hi Marke

      Glad my tips have helped out. Be sure to check back or subscribe to the RSS feed for more tips coming soon.

      Thanks
      Mike


Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!