From: Saqib Ali > I'm reading a large (57 MB) XML file Using XML::XPath::XMLParser() > > I keep getting this error: > > "Callback called exit at XML/XPath/Node/Element.pm at line 144 during > global destruction." > > I'm using Windows XP. So I watched the task-management memory meter > during the execution of this process. The PERL process chewed up a lot > of the "available memory". But when the process died, it still showed > about 216MB available memory. > > Is there anything I can do to work-around this problem? From reading > responses to other similar questions, the only option may be to use a > XML stream parser instead of one that builds the entire DOM tree > internally.
This sounds like you are running on a 32-bit OS. There is a fixed limit to how much memory each process can use, no matter how much RAM and swap space you have available. So the other option is to switch to a 64-bit system. Bob McConnell -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/