Subject: | leaking memory on ->tidy() |
Hi Pip,
there seems to be circular reference out there somewhere:
perl -MXML::Tidy -MIO::String -lE 'while (1) { XML::Tidy->new(ioref => IO::String->new("<body><div>d</div></body>"))->tidy() }'
will result in process that keeps on allocating more and more memory.
XML::Tidy 1.16
XML::XPath 1.40
Best regards
Jozef