This is a common favorite of mine, especially when running VM’s locally. I have noticed with VMware fusion and Parallels there seems to be a delay in freeing up memory. If you you like things that make you happy, you will likely enjoy this:
- Open up activity monitor
- Open a terminal window
- Issue the purge command
- Watch your memory usage plummet after issuing the purge command.
- Profit… Is this still relevant?
Check out the man page of purge for more insight to what this actually does
purge – force disk cache to be purged (flushed and emptied)
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.