title: Scala finding elements in big (30MB) xml files
body: <p>I have a 30MB big XML files and want to find a couple of elements in it.</p>
  
  <p>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 </p>
  
  <pre><code>mvn help:effective-pom -Doutput=test.xml
  </code></pre>
  
  <p>For my file of 26MB, scala's XML.load* results in java.lang.OutOfMemoryError: Java heap space</p>
  
  <p>What can I do besides increasing heap-space ?</p>
  
  <p>TIA, bastl.</p>