What does the xml look like?
Try xml_pp -- it should be as memory efficient as you can get with http://www.xmltwig.org/ for pretty printing a file
Here's my code if it helps, but it's not really doing anything complicated or interesting.
you should $rows->purge in row_processing as well as flush, see http://xmltwig.org/xmltwig/tutorial/yapc_twig_s4.html
In reply to Re: out of memory! parsing large XML file ( xml_pp )
by Anonymous Monk
in thread out of memory! parsing large XML file
by slugger415
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |