gube has asked for the wisdom of the Perl Monks concerning the following question:
Our application have many subroutines particularly in one subroutine contains 100 lines and its calling some other packages subroutine which contains more than 200 lines. We are getting memory leakage while calling that routine. We are using module Apache::Leak, and through leak_test we found some more then 200 leakages in that subroutine. There is no circular reference used in the routines it seems. Is there any other way for memory leak other then circular reference? Even i super search in perlmonks and went through some earlier questions they mentioned some modules 'Devel::Leak', 'Test::Memory::Cycle', 'Devel::LeakTrace::Fast'. We cannot able to identify were the problem still. Please give some ideas.
Gubs
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: what are all the possibilites for memory leaks ?
by derby (Abbot) on Oct 10, 2007 at 12:05 UTC | |
Re: what are all the possibilites for memory leaks ?
by lima1 (Curate) on Oct 10, 2007 at 12:17 UTC | |
Re: what are all the possibilites for memory leaks ?
by adrianh (Chancellor) on Oct 10, 2007 at 12:55 UTC | |
Re: what are all the possibilites for memory leaks ? (repeat)
by tye (Sage) on Oct 10, 2007 at 14:55 UTC | |
Re: what are all the possibilites for memory leaks ?
by sen (Hermit) on Oct 10, 2007 at 12:54 UTC | |
Re: what are all the possibilites for memory leaks ?
by zentara (Archbishop) on Oct 10, 2007 at 14:29 UTC |