Re: the memory used increases
[prev]
[thread]
[next]
[Date index for 2005/02/20]
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
 |
 |
Re: the memory used increases
Perrin Harkins 21:39 on 20 Feb 2005
|