Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Automatically reclaim memory from leaky programs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically reclaim memory from leaky programs
Authored by: arcticmac on Apr 11, '12 08:41:38AM

I recently ran across, which does a nice job explaining the way this works on linux, which should be at least reasonably similar to Mac OS.

A key observation is that if your computer isn't paging memory to disk, you should only hurt performance by purging your disk cache. If, on the other hand, your system IS paging to disk a lot, a purge might help, but it also might not, since nominally the OS probably should have done it automatically for you to avoid paging in the first place. (not that it always works)

Also, I believe 'purge' is NOT part of the dev tools, although it's hard for me to confirm 100% since I do have them installed. xcode does install a number of tools in /usr/bin if you ask it to install the command line tools package (available in the xcode prefs), but on my system, all the items installed by that command have the same modification date, which is different from the date on 'purge', so I think it's installed with the OS.

[ Reply to This | # ]
Automatically reclaim memory from leaky programs
Authored by: Weaselboy on Apr 11, '12 08:49:50AM

I have Lion 10.7.3 and have not installed Xcode, and I see purge in /usr/bin

[ Reply to This | # ]