httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Parsers test eats all the memory
Date Wed, 12 Jan 2005 23:32:49 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> writes:
> 
> 
>>Max Kellermann wrote:
>>
>>>On 2005/01/13 00:08, Joe Schaefer <joe+gmane@sunstarsys.com> wrote:
>>>
>>>
>>>>How much RAM you got on there?  There's a loop-in-a-loop that's run
>>>>a few hundred thousand times; it's in t/parsers.c:parse_multipart.
>>>>I don't know where that memory is going (I do ack the problem),
>>
>>I've 750MB + 800MB swap. The loop does 319*319 iterations. i don't know what
>>has changed, but it was working fine before.
> 
> 
> Most likely: your --enable-pool-debug and/or APR_BUCKET_DEBUG
> flags have changed ;-).  It's a night and day difference for
> me: ~1.5GB vs a few MB for that particular test.

Joe++ for telephatic qualities :)

May be it makes sense not to do 319*319 iterations?


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Mime
View raw message