Just another Perl shrine | |
PerlMonks |
Re: large XML file in using XPATHby oha (Friar) |
on Nov 05, 2009 at 16:11 UTC ( [id://805295]=note: print w/replies, xml ) | Need Help?? |
hard to reply to this question: i have no idea if the issue is the algorithm or the memory which swap. I'll go a bit OT and try to suggest you to change completely your approach:
use a SAX parser and collect data while reading the XML only once. This could probably speed-up the process and reduce the mem usage and is a good hint if you are managing huge xml. HTH
In Section
Seekers of Perl Wisdom
|
|