laziness, impatience, and hubris | |
PerlMonks |
Re: Faster file read, text search and replaceby NetWallah (Canon) |
on Feb 14, 2018 at 04:56 UTC ( [id://1209102]=note: print w/replies, xml ) | Need Help?? |
An XML file larger than ~ 500 MB is indicative of a poorly designed application system. The reason is that typically, XML files are serialized/processed after reading them into memory, and at over 500M, memory demands start to enter the region where they need special treatment for resource allocation. Consider loading the XML file into a database that can manage memory much better, while providing structured access. Something like this sqlite UI with an XML plug-in could help. Python is a racist language what with it's dependence on white space!
In Section
Seekers of Perl Wisdom
|
|