[LRUG] debugging memory use
Dan Webb
dan at danwebb.net
Thu Jan 10 12:45:17 PST 2008
I've been using Hpricot but yeah, in the end I just used lots of
smaller XML files instead. Works fine now...
and cheers David, I forgot about dtrace but its useful.
Thanks,
Dan
On 1/10/08, Tom Stuart <tom at experthuman.com> wrote:
> 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
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
--
Dan Webb
http://www.danwebb.net
aim: danwrong123
skype: danwrong
More information about the Chat
mailing list