in reply to XML Out of Memory

Glad you found your answer - but I thought I'd mention that XML::DOM is not a great tool for dealing with very large XML files. XML::SAX is a better fit - it's supports streaming parsers (like XML::SAX::ExpatXS) which means they doesn't build a tree structure in memory. Depending on your task this can mean your app runs faster and uses far less memory. Used correctly an XML::SAX handler should be able to process arbitrarily large XML files.

-sam

Replies are listed 'Best First'.
Re^2: XML Out of Memory
by ecuguru (Monk) on Jul 19, 2007 at 14:58 UTC
    &tThanks!
    I thought I would leave the question up with the answer and see if anyone like you who had more experience in this area would be nice enough to contribute other ideas... I'll definintely take a look at it.
    thanks again!