Subject: | Small bug |
Date: | Fri, 17 May 2013 18:00:22 +0100 |
To: | <bug-Syndication-NewsML [...] rt.cpan.org> |
From: | Ian Young <ian.young [...] pressassociation.com> |
Hi Brendan,
I am not sure if you are still maintaining the Syndication::NewsML cpan
module, I just thought I would pass something on you might be able to
add to the notes:
When processing a large number of NewsML files in a loop even though
explicitly undefining the newsml object memory usage keeps increasing. I
got around this by using the dispose method on the underlying XML::DOM
object as per: -
while ($continue){
$newsml = new Syndication::NewsML($newsml_xml);
$newsml->{doc}->dispose;
}
Cheers,
Ian
--
Ian Young
Solutions Architect
PRESS
ASSOCIATION
www.pressassociation.com/images.html
ian.young@pressassociation.com
T: 0115 8512725
Extension: 2725