memory usage in mod_perl
justdave at bugzilla.org
Wed Jan 17 00:57:07 UTC 2007
David Miller wrote on 1/16/07 7:53 PM:
> Max Kanat-Alexander wrote on 1/16/07 6:11 PM:
>> If you know what specific variable is causing the problem, you
>> can "undef $var" before your subroutine exits, and that can handle it.
>> But you have to specifically undef it for perl to release it.
> I was guessing that's probably what it was. We don't have a whole lot
> of variables that are likely to occupy huge amounts of memory. A
> buglist is a darn good candidate. A good start would probably be
> undef'ing the bug object cache in our cleanup handler.
Another good candidate would be the dependency hashes in
Dave Miller http://www.justdave.net/
System Administrator, Mozilla Corporation http://www.mozilla.com/
Project Leader, Bugzilla Bug Tracking System http://www.bugzilla.org/
More information about the developers