Re: destroy xml object
Michael Ludwig <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <20100707112001.GV3036@wladimir> |
Thomas Krichel schrieb am 07.07.2010 um 06:40 (+0200):
> A script of mine repeatedly calls
>
> my $in_xml = eval {
> XML::LibXML->load_xml(location=>$in_file);
> };
>
> Memory usage goes through the roof. Eventually, the
> script is killed by the kernel. In my despair I try
>
> $in_xml->DESTOY();
>
> That bombs out completely. What is a boy to do here?
The first step would be to provide exact details instead of "through the
roof" and "bomb out completely". File size, error message? In addition,
post a *minimal* self-contained program reproducing the case so we can
run this at home and see you're not doing something unthinkably funny in
your script.
--
Michael Ludwig
_______________________________________________
Perl-XML mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs