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 <pratikn...@gmail.com> wrote: > From: Pratik <pratikn...@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