memory footprint

Igor Sysoev is at
Fri Nov 9 13:42:40 MSK 2007

On Fri, Nov 09, 2007 at 12:29:23PM +0200, Riku R?is?nen wrote:

> Yeah,
> and if the system has plenty of free memory the kernel might not free  
> it up - it's called caching and it's a good thing - like Igor mentioned.
> Just thought that it was not clear enough in Igors post, maybe.

No, the memory that program free()s is useless in kernel, because it
is not mapped to a file. So it goes directly to Free memory, that you see
in top.

The caching may at libc level. For example, in FreeBSD 6 and early
libc by default caches up to 16 free pages, that is 64K.

Igor Sysoev

More information about the nginx mailing list