Skip Menu |

This queue is for tickets about the Syndication-NewsML CPAN distribution.

Report information
The Basics
Id: 85384
Status: new
Priority: 0/
Queue: Syndication-NewsML

People
Owner: Nobody in particular
Requestors: ian.young [...] pressassociation.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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