[LRUG] debugging memory use

Tom Stuart tom at experthuman.com
Thu Jan 10 12:35:09 PST 2008


On 10 Jan 2008, at 19:51, James Cox wrote:
> once the whole tree has been parsed, it has to figure out how to  
> nest it properly. that's
> the bit at the end - it's constructing the final object to hand back.
> Better would be finding a way to chunk it, or try and discard attribs
> etc you don't need on the way....

Yes, I second that. Could you do the XML parsing with SAX, instead of  
(presumably) DOM?

Cheers,
-Tom



More information about the Chat mailing list