httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe_schae...@yahoo.com>
Subject Re: Memory leak with apreq_brigade_fwrite() ?
Date Tue, 16 Dec 2008 12:53:26 GMT
The "leak" of a bucket brigade into the pool shouldn't be
noticable.  The problem with all previous releases is that
apreq_brigade_fwrite would leak badly when dealing with
spool buckets- the current RC/trunk should fix that problem.


--- On Tue, 12/16/08, Pratik <pratiknaik@gmail.com> wrote:

> From: Pratik <pratiknaik@gmail.com>
> Subject: Memory leak with apreq_brigade_fwrite() ?
> To: apreq-dev@httpd.apache.org
> Date: Tuesday, December 16, 2008, 7:10 AM
> Hi all,
> 
> I was going through the docs of RC1/trunk and for
> apreq_brigade_fwrite(), docs have the following remark :
> 
>     @remarks This function leaks a bucket brigade into
> bb->p whenever
> the final bucket in bb is a spool bucket.
> 
> Is this still the case ? We're using
> apreq_brigade_fwrite() inside our
> module and I can see the memory usage rising slightly every
> time I
> upload a file larger than any of the previously uploaded
> files.
> 
> Any suggestions/work around ?
> 
> -- 
> Cheers!
> - Pratik
> http://m.onkey.org


      

Mime
View raw message