Last Updated: February 25, 2016
·
1.849K
· damln

Clear Inactive RAM on OSX

Open a terminal :

purge

This will purge the Inactive RAM on your OSX.
It can purge more than 1 Go depending on your system/usage.

4 Responses
Add your response

Interesting... How can I tell that it worked?

over 1 year ago ·

See the nice memory pie chart in Activity Monitor.

over 1 year ago ·

man purge
-->
Purge can be used to approximate initial boot conditions with a cold disk
buffer cache for performance analysis. It does not affect anonymous mem-
ory that has been allocated through malloc, vm_allocate, etc.

over 1 year ago ·

This is nice to know but appart from testing "cold cache" conditions it's not needed as inactive RAM will be freed when necessary by OS X. It will actually slow down your system as reopening files will have to hit the disk.

over 1 year ago ·