in reply to Re^2: Memory usage of a "sub" in mod_perl
in thread Memory usage of a "sub" in mod_perl

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.
  • Comment on Re^3: Memory usage of a "sub" in mod_perl