in reply to Re^3: Memory Leak HTML::FormatText
in thread Memory Leak HTML::FormatText

Sorry, my mistake, this was supposed to read

$content->delete();

The hope was that this would destroy the Treebuilder object, which apparently gets build via HTML::FormatText, and thus prevent the memory leak. There is a reference to a delete function in the CPAN documentation, but I just get the error message "Can't call method...". The same goes for this line, which I just tried now after reading your earlier entry:

$content->eof;

Replies are listed 'Best First'.
Re^5: Memory Leak HTML::FormatText
by Anonymous Monk on Sep 16, 2013 at 10:14 UTC