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;In reply to Re^4: Memory Leak HTML::FormatText
by PerlNovice999
in thread Memory Leak HTML::FormatText
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |