title: Could not reserve heap space
body: <p>I am using soap ui 5.0.0 open source. I am running soapui testcases through ant to get the Junit report </p>
  
  <p>build.xml:</p>
  
  <pre><code>&lt;project basedir="." default="testreport" name="FCMRestAPIAutomation"&gt;
  &lt;target name="SoapUI"&gt;  
      &lt;exec dir="." executable="C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\bin\testrunner.bat"&gt;
      &lt;arg line="-r -j -o -f 'C:\Users\sn3020722\Desktop\Notification\New folder' -sFirstLoginTest 'C:\Users\sn3020722\Desktop\Notification\New folder\FCM Project.xml'"&gt;&lt;/arg&gt;
  &lt;/exec&gt;
  &lt;/target&gt;
  &lt;target name="testreport" depends="SoapUI"&gt;
  &lt;junitreport todir="C:\Users\sn3020722\Desktop\Notification\New folder\API"&gt;
   &lt;fileset dir="C:\Users\sn3020722\Desktop\Notification\New folder\API"&gt;
  &lt;include name="TEST-*.xml"/&gt;
  &lt;/fileset&gt;
  &lt;report format="frames" todir="C:\Users\sn3020722\Desktop\Notification\New folder\reports\html"&gt;
   &lt;/report&gt;
   &lt;/junitreport&gt;
   &lt;/target&gt;
  &lt;/project&gt;  
  </code></pre>
  
  <p>Error in the command prompt:</p>
  
  <pre><code>SoapUI:
       [exec] Error: Could not create the Java Virtual Machine.
       [exec] Error occurred during initialization of VMError: A fatal exception h
  as occurred. Program will exit.
       [exec]
       [exec] Could not reserve enough space for object heap
       [exec] Result: 1
  
  testreport:
  [junitreport] Processing C:\Users\sn3020722\Desktop\Notification\New folder\API\TESTS-TestSuites.xml to C:\Users\sn3020722\AppData\Local\Temp\null913190532
  [junitreport] Loading stylesheet jar:file:/D:/eclipse/plugins/org.apache.ant_1.8
  .3.v201301120609/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit
  /xsl/junit-frames.xsl
  [junitreport] Transform time: 312ms
  [junitreport] Deleting: C:\Users\sn20722\AppData\Local\Temp\null913190532
  </code></pre>
  
  <p>I have added the following in the system environment variables. </p>
  
  <pre><code>_JAVA_OPTIONS: -Xmx2048MB
  </code></pre>
  
  <p>But still i am facing other issue that Soapui itself is not opened with the allotted space.. Any suggestion to workout the space issue..?</p>