Hi,
I looked at Memory Usage at my perl-status page and was horrified: the
biggest modules are:
File::Find 1205208 bytes | 2597 OPs
Convert::ASN1::parser 1058185 bytes | 3069 OPs
However, if I go inside File::Find, I can't figure out what takes up so
much space:
_find_dir 33503 bytes | 823 OPs
_find_dir_symlnk 30349 bytes | 740 OPs
_find_opt 22035 bytes | 523 OPs
Follow_SymLink 6902 bytes | 180 OPs
wrap_wanted 4272 bytes | 97 OPs
contract_name 4185 bytes | 79 OPs
PathCombine 3613 bytes | 88 OPs
finddepth 2085 bytes | 37 OPs
find 1800 bytes | 30 OPs
my %SLnkSeen = ...; 228 bytes
*ISA{ARRAY} 160 bytes
*EXPORT{ARRAY} 143 bytes
*EXPORT_FAIL{ARRAY} 56 bytes
*EXPORT_OK{ARRAY} 56 bytes
my $prune = ...; 12 bytes
...and more variables follow.
I can't really call separate scripts from the command line to measure their
memory usage (due to a complex configuration), as the mod_perl guide
recommends. Is there another way to debug this?
Thanks,
Simon
--
Simon (Vsevolod ILyushchenko) [EMAIL PROTECTED]
http://www.simonf.com [EMAIL PROTECTED]
"A man who feels himself a citizen of the world whose
loyalty is to the human race and to life, rather than
to any exclusive part of it; a man who loves his country
because he loves mankind, and whose judgement is not
warped by tribal loyalties." Erich Fromm