Thursday, January 10, 2013

PURGE to free memory.


/usr/bin/purge

Just type in 'purge' at the command line (Terminal.app) from the main page:

PURGE BSD System Manager's Manual PURGE NAME
purge -- force disk cache to be purged (flushed and emptied)

SYNOPSIS purge

DESCRIPTION
Purge can be used to approximate initial boot conditions with a cold disk buffer cache for performance analysis.
It does not affect anonymous memory that has been allocated through malloc, vm_allocate,