title: Application runs in Eclipse, exported jar crashes
body: <p>Inside my Swing application I have to parse xml documents. Sometimes they have more than 190 MB. It caused crashes in applications because no enough memory could be allocated. Inside Eclipse I changed JVM arguments so it can allocate up to 2gb of memory using this argument:</p>
  
  <pre><code>-Xmx2048m
  </code></pre>
  
  <p>When I start it like this there are no problems.
  But when I exported it to runnable jar file app keeps crashing. I changed the JVM memory settings for my Windows environment</p>
  
  <pre><code>ControlPanel-&gt;Programms-&gt;Java-&gt;Java-View
  </code></pre>
  
  <p>It crashes at the following line:</p>
  
  <pre><code> doc = docBuilder.parse(inputSource);
  </code></pre>
  
  <p>But no exception is thrown. For this reason I think my JVM crashes. What could be the problem?</p>