in reply to Re^6: Out of memory with XML::Parser
in thread Out of memory with XML::Parser

Do you get the same effect by replacing the undef $chars; by just... 1? It could be something like what's described in the XML::Twig FAQ: by having the last statement of the handler, which is returned to the calling routine, not evaluate to a huge string, you avoid copying it and thus get the effect you got.

It looks like there was no bug in XML::Parser then, you just actually ran out of memory.

Replies are listed 'Best First'.
Re^8: Out of memory with XML::Parser
by LukeyBoy (Friar) on Sep 15, 2005 at 19:12 UTC
    Yep, same effect. The implicit return bit me is the ass :-) Thanks for helping me figure it our mirod!