Skip to content

Purge OS X inactive Memory

The memory in OSX is divided in four important categories such as shown below :

 

Those “types” of memory combined together are the full size of your ram, in my case 8Gb. Each type as a specific function in OS X those are described below :

Free:

This is RAM that’s not being used.

Inactive:

This information in memory is not actively being used, but was recently used.

For example, if you’ve been using Mail and then quit it, the RAM that Mail was using is marked as Inactive memory. This Inactive memory is available for use by another application, just like Free memory.  However, if you open Mail before its Inactive memory is used by a different application, Mail will open quicker because its Inactive memory is converted to Active memory, instead of loading Mail from the slower hard disk

 

Wired:

Information in this memory can’t be moved to the hard disk, so it must stay in RAM. The amount of Wired memory depends on the applications you are using.

Active:

This information is currently in memory, and has been recently used.

 

As you can see, the inactive memory is used for fast access to an application, and sometimes if happened that the memory is not released by OSX or not shared.  This can make the mac really slow and buggy. As I got the problem I searched for a solution I found that one :

 

  • If you do not have the developers tools installed, install them.
  • open a shell and type in the following command :
This command will purge the inactive memory and set this memory as free. This command should help you if your free memory decreased to less than a GB and that you inactive memory increased or wasn’t allowed to be used by other softwares.
And That’s it.

Post a Comment

Your email is never published nor shared. Required fields are marked *