On Tue, Jun 30, 2009 at 9:00 AM, Kevac Marko<ma...@kevac.org> wrote:
> Hello
>
> Is memory (RSS) returned to OS after cleaning pool (for example r->pool)?
> After destroying pool?
>
> My module uses a lot of memory (~100 MiB). This memory is taken from
> r->pool. But after request is finished, this memory is not returned to
> OS - RSS is 100 MiB.
>
> Linux 2.6 - httpd-2.2.10

Not by default, see the MaxMemFree directive.  The conventional wisdom
is that some other req on that thread will also soon need the same
high water mark of memory, so better to not go in/out of the heap
library each time.

-- 
Eric Covener
cove...@gmail.com

Reply via email to