[nycbug-talk] Source of OSX's purge command
Eitan Adler
lists at eitanadler.com
Tue Oct 29 23:30:40 EDT 2013
On Tue, Oct 29, 2013 at 6:08 PM, Mark Saad <mark.saad at ymail.com> wrote:
> All
> I was looking for the sources for the purge command that flushes the
> memory caches . It looks like there is some magic happening here and I
> can't find it anywhere .
>
> So this stems from a work question about porting some Linux code to
> FreeBSD that swaps for no good reason . It was mentioned by a developer
> they ran purge on their Mac to gain back some free ram that was allocated
> as buff cache .
What did they use that RAM for? Free RAM is wasted RAM.
Note that FreeBSD tries to take advantage of this as much as possible:
http://www.freebsd.org/doc/faq/misc.html#idp77260464
--
Eitan Adler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nycbug.org:8443/pipermail/talk/attachments/20131029/0db4695e/attachment.htm>
More information about the talk
mailing list