Scala finding elements in big (30MB) xml files

acgimpy

New Member
I have a 30MB big XML files and want to find a couple of elements in it.The file is an effective pom.xml and I want to get all dependencies (name,group,version), submodules and the parent from it. You can look at such a file using \[code\]mvn help:effective-pom -Doutput=test.xml\[/code\]For my file of 26MB, scala's XML.load* results in java.lang.OutOfMemoryError: Java heap spaceWhat can I do besides increasing heap-space ?TIA, bastl.
 
Back
Top