httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burak Arslan <burakars...@su.sabanciuniv.edu>
Subject Re: concern about memory management
Date Wed, 04 Apr 2007 18:43:15 GMT
Dumindu Pallewela wrote:
> On 4/4/07, Joachim Zobel <jzobel@heute-morgen.de> wrote:
>>
>>
>> Downside:
>> If the module permanently allocs and frees again, it may become a memory
>> hog with pools.
> 
> 
> but u can  create subpools... so that  when you free the subpool, all the
> memory allocated from it will be free'd, isn't it?
> 
this whole pool stuff should end up as ordinary malloc()s and free()s somehow, 
so no, i don't think that if speed is your concern, you should be using the 
memory management machinery of apache, because it will have its own (minimal) 
overhead.


Mime
View raw message