...there is a slow memory leak ... The first main problem I think is ... It seems impossible that ... Am I missing something? code itself is over 2000 lines
Reproduce the problem by slowly deleting 1980 lines until you're left with about 20 lines which reproduce the leak :)
Links on this type of stuff :)
Tutorials: Variable Scoping in Perl: the basics,
Coping with Scoping , Mini-Tutorial: Perl's Memory Management,
Lexical scoping like a fox,
Read this if you want to cut your development time in half!,
Closure on Closures , perlref#Circular References,
Memory leaks and circular references,
Circular references and Garbage collection.,
make perl release memory,
about memory management , Re^3: Scope of lexical variables in the main script , Re: What's the weaken here for?,
Devel::Cycle,
Devel::NYTProf,
Devel::Leak Devel::LeakTrace,
WeakRef
In reply to Re: Memory leak detection (delete lines until 20 reproduces problem)
by Anonymous Monk
in thread Memory leak detection
by runnerup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |