look into Apache::Resource or Apache::SizeLimit which
will allow you to set a maximum size for the apache
process.

both can be added to your startup.pl

--- Plamen Stojanov <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have a ig mem usage problem with perl. 
> I load 2Mb data from a database in perl hash and
> perl takes 15Mb memory. As I 
> use this under mod_perl - perl never returns this
> memory to the OS. I must 
> set a little number for MaxRequestsPerChild in order
> to restart perl 
> interpreter not to eat a lot of memory. 
> Is there any solution to avoid such memory usage?


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

Reply via email to