For anyone unfamiliar with the Purge command, it cleans out inactive memory. I guess it’s included with the dev tools. I assumed that’s how other apps like iFreeMem, iMemoryCleaner, iCleanMemory and others do it. However, the purge command won’t work if the dev tools aren’t present.
Any alternatives that work the same way without the dev tools installed?
There’s never any reason to run the
purgecommand unless you’re a developer. It will only ever decrease system performance (by purging cached data, requiring the system to reload data from the hard disk).That being said, you can take a look at how
purgeworks with theotool -tVcommand. It appears to use an undocumented function calledCPOSXPurgeAllDiskBuffers().