OS X

Free Up Inactive Memory On Your Mac Using The Terminal Purge Command


Memory management is a very important aspect of Mac OS. You will often find your mac running slow, after you have been using it for a few hours. This is due to memory being created and deleted.

Often Mac OS won’t free the memory for awhile, this makes it build up. If you have a mac with only 2GB/4GB of ram it can soon get full. Once it’s full the mac will go extremely slow and you will find applications crashing more often.

There is a fix for this without restarting your mac.


Using Terminal

Using the terminal to free the memory is very simple but you will have to own the developer tools. We will go over the command purge, which gets rid of all the inactive memory in your ram.

The system will show you 4 different types of memory.

  • Free memory is any memory that is not used, which can be used by applications.
  • Inactive is memory which has been used before but is no longer used.
  • Active memory is what your applications are currently using.
  • Wired memory is system memory that Mac OS is using.

To cleanup the inactive memory you can open applications -> utilities -> terminal.

Warning – Please purge use with caution as it’s not 100% safe to use.

Type in the command:
purge
Then press enter.

This should take a few mins, there maybe a slowdown until it’s finished. Once it’s finished your mac should run a lot smoother.

Using Software

If you don’t fancy using the terminal, then you can use software. One of the best applications i’ve used is FreeMemory.

FreeMemory

Price: Free Company: Rocky Sand Studio

FreeMemory is a free app on the mac appstore. The application is designed specifically for freeing memory.

Once you download the app from the store:
http://itunes.apple.com/gb/app/freememory/id460931672?mt=12

You should see the memory usage in the top right toolbar. If you click it and go to usage you should see exactly how much memory your mac is using.

If you want to free the inactive memory simply select free memory. This should take 1 min or so.

If your mac only has 2GB of ram, i would recommend upgrading to atleast 4GB. To get maximum performance. You will see a huge difference in general usage.

About the author

Chris

Follow me here: |

Add Comment

Click here to post a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.