httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: memory leak
Date Tue, 06 Feb 2001 22:52:45 GMT

> > That 4K gets freed when the bucket is destroyed.  If the bucket
> > get's destroyed only when the connection pool is destroyed, then we are
> > leaking resources for a long time.
> So we implement a lookaside list for released buckets, which could make
> allocating them at need all the faster (at the cost of server memory
> not shrinking for that usage).  I believe this has come up before,
> but I do not remember any reason it was considered a poor model.

Nobody ever said it was a bad design, in fact, Paul Reder said he was
working on it.  However, that design absolutely invalidates the idea of
using a pool to allocate the buckets, which is the design being discussed


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message