Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: XML::Twig loves to eat my memory

by AndyZaft (Hermit)
on Jul 22, 2010 at 21:54 UTC ( [id://850927] : note . print w/replies, xml ) Need Help??


in reply to Re^3: XML::Twig loves to eat my memory
in thread XML::Twig loves to eat my memory

Very strange, since dispose calls the Twig object's destructor explicitly. But then again I don't know much about how the GC works in the Perl process. So your memory usage keeps growing the more files you process if I'm understanding this correctly, right?

Replies are listed 'Best First'.
Re^5: XML::Twig loves to eat my memory
by carcus88 (Acolyte) on Jul 23, 2010 at 04:38 UTC
    Correct, no matter what I have tried it keeps growing approx 160-180MB for each file.