in reply to Re^2: Memory Leak HTML::FormatText
in thread Memory Leak HTML::FormatText
What is $content->delete(new) supposed to be or do (what is the string "new") ?
Nevermind
here is my tip, do a Data::Dumper of an object afer one or 10 files, and look for references
Note especially the bless'ed package names
Then go write some destructors, its what I did for bugs in HTML::TableExtract/HTML::TableExtract Memory Usage
Since you're using sub format_file { I'd copy/paste its source and Dumper the objects involved to find circular-references $VAR1 = { ... \$VAR1 };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Memory Leak HTML::FormatText
by PerlNovice999 (Novice) on Sep 16, 2013 at 09:23 UTC | |
Re^4: Memory Leak HTML::FormatText
by PerlNovice999 (Novice) on Sep 16, 2013 at 09:17 UTC | |
by Anonymous Monk on Sep 16, 2013 at 10:14 UTC | |
Re^4: Memory Leak HTML::FormatText
by PerlNovice999 (Novice) on Sep 18, 2013 at 12:25 UTC | |
by Anonymous Monk on Sep 18, 2013 at 13:27 UTC | |
by PerlNovice999 (Novice) on Sep 18, 2013 at 13:34 UTC | |
by Anonymous Monk on Sep 18, 2013 at 14:01 UTC |
In Section
Seekers of Perl Wisdom