Re: the memory used increases

[prev] [thread] [next] [Date index for 2005/02/20]

From: Perrin Harkins
Subject: Re: the memory used increases
Date: 21:39 on 20 Feb 2005
Octavian Rasnita wrote:
> I am using mod_perl and I try to initialize every variable before using it
> with "" or undef, but even so, I can see that the memory used by Apache
> increases more and more after using the site.

It's probably because you are doing things that require more memory. 
Actual memory leaks are rare.  However, you can code in a way that will 
minimize the amount of memory you need.  There's lots of documentation 
on this here:
http://perl.apache.org/docs/1.0/guide/performance.html#Improving_Performance_by_Prevention

- Perrin

the memory used increases
Octavian Rasnita 15:37 on 20 Feb 2005

Re: the memory used increases
Perrin Harkins 21:39 on 20 Feb 2005

Generated at 22:43 on 24 Feb 2005 by mariachi v0.52