apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: [PATCH] Free memory over a certain threshold back to the system
Date Wed, 06 Feb 2002 17:01:45 GMT
> -----Original Message-----
> From: Justin Erenkrantz [mailto:jerenkrantz@ebuilt.com]
> Sent: Wednesday, February 06, 2002 8:59 AM
> To: Sander Striker
> Cc: dev@apr.apache.org
> Subject: Re: [PATCH] Free memory over a certain threshold back to the
> system
> 
> On Wed, Feb 06, 2002 at 01:24:36PM +0100, Sander Striker wrote:
> > Hi,
> >
> > The 'high free' patch.  I'm not sure we want this.
> > It may hide pools abuse problems.
> 
> Yeah, I agree we don't really want this.  If we run out of memory
> with the normal pools, it means that the lifetimes are most likely
> incorrect.
> 
> But, perhaps this could be a #define with a debug option?  -- justin

We definitely don't want this IMHO.  If the pools are filling up, then
either pools are the incorrect model for your app, or they aren't being
cleared often enough.  I would much rather not have this as an option at
all, because that just encourages people to use it.  :-)

Ryan



Mime
View raw message