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

Click here to return to the 'New Memory Wipe Command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
New Memory Wipe Command
Authored by: desepticon on Apr 11, '12 10:34:24PM

Thanks for the info. It seems to me that this guys program does something a little different from purge though. It causes no noticeable lag on my system when run. When I run purge it takes a few seconds and the system hangs. I'm not sure this program is affecting the disk cache at all. It doesn't seem to be as vicious about reclaiming memory.

Like you say I think this practice can be used in certain situations. In my case I run a Plex media server. This program has the habit of claiming more and more RAM over time and being stingy about releasing it back to the system. The computer I run this server on also multi-purposes as a MediaMac, Game System, WebServer,rtorrent setup, and generic purpose computing hub. In some instances, especially when I want to play a game, it seems to be best to start with as fresh a canvas as possible as far as inactive memory is concerned. I don't know when I might feel like playing a game, so a script such as this running automatically would allow me to "set it and forget it."

Hmmm. Thinking about this now wouldn't it be possible to attach a lauchctl watchpaths directive for certain applications you want maximum memory performance from? Does watchpaths support multiple paths?

[ Reply to This | # ]