Which version of perl are you using? Up until 5.16.0 there was a bug in the interpretor that made XML::Twig crash when it hit a large number of children. See a description at Re: XML::Twig too many children?.
Edit: it's early and I haven't had my coffee, so I am not sure I read the post right, so just to be sure: in the handler you do </t>purge</t> the tree right? Otherwise it could be just a case of the memory filling up.
In reply to Re: XML::Twig size problem
by mirod
in thread XML::Twig size problem
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |