Do you know where your variables are? | |
PerlMonks |
Re^3: Memory usage of a "sub" in mod_perlby perrin (Chancellor) |
on May 23, 2008 at 20:08 UTC ( [id://688211]=note: print w/replies, xml ) | Need Help?? |
If you run the exact same request multiple times and the process size grows every time, you have a leak, probably a circular reference. If it stops growing but remains at the larger size, that is completely normal and the only way to avoid it is to structure your code so that it doesn't need to have all the data in memory at once.
In Section
Seekers of Perl Wisdom
|
|