Subject: | Big Memory Leak |
The attached test script, "test.pl" illustrates a large memory leak in
the module, described in the "report.txt" file.
On long running processes, this module can contribute to hundreds of
megs of memory that never gets purged.
Subject: | report.txt |
Message body is not shown because it is too large.
Subject: | test.pl |
#!/usr/bin/perl
use lib qw(/Users/justin/Documents/DadaMail/git/dada-mail/dada/DADA/perllib);
my $html = q{
Test piece of plain text
With a new line,
a URL: http://example.com
and an email address: mailto:user@example.com
};
my $conv = HTML::TextToHTML->new;
$conv->args(
);
$r = $conv->process_chunk($html);
print $r;