Re:Something is deeply broken in OS X memory management
by eridius on Monday April 23, 2012 @02:05PM
(#3880122)
That's a terrible idea. `purge` is not a tool for freeing inactive ram. It's a tool for deleting the filesystem cache in order to simulate cold boot conditions for performance analysis. Yes, it has the side effect of reducing memory usage, inasmuch as it's throwing away stuff that was kept in memory. But that doesn't make it an appropriate tool to use.
[ Parent
| on HN ]
Re:Something is deeply broken in OS X memory management
by hughw on Monday April 23, 2012 @02:31PM
(#3880247)
What's the downside? It worked for him.
Re:Something is deeply broken in OS X memory management
by eridius on Monday April 23, 2012 @03:07PM
(#3880427)
The downside is it slows filesystem access down across the board until the caches get repopulated. So sure, go ahead and use it if you like having a slow filesystem.
Caches exist for a reason. Deleting them willy-nilly tends to be a bad idea.
Re:Something is deeply broken in OS X memory management
by collint on Monday April 23, 2012 @02:36PM
(#3880264)
Yeah, I've had zero problems doing this for over a year. I used to get into swap hell every other day and now my life is beautiful and awesome.