title: JDeveloper Could not reserve enough space for object heap
body: <p>I have run into an issue with JDeveloper when I am trying to build a composite to deploy for Sugar.  I am running JDeveloper 11.1.1.7.0 running on Window 7 with 16GB of RAM and when I try to build the composite I see the following message </p>
  
  <pre><code>Buildfile: C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml
  
  scac:
       [scac] Validating composite "C:\JDevProjects\NotificationService\NotificationServiceProject\composite.xml"
       [scac] Error occurred during initialization of VM
       [scac] Could not reserve enough space for object heap
  
  BUILD FAILED
  C:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:278: Java returned: 1 Check log file : C:\JDevProjects\NotificationService\NotificationServiceProject\SCA-INF\classes\scac.log for errors
  
  Total time: 1 second
  </code></pre>
  
  <p>Searching around I have gotten numerous recommendations of changes to the ide.conf and jdev.conf.<br>
  <a href="https://stackoverflow.com/questions/11045697/jdeveloper-could-not-reserve-enough-space-for-object-heap">JDeveloper: Could not reserve enough space for object heap</a></p>
  
  <p>Currently I have the jdev.conf set at </p>
  
  <pre><code>AddVMOption -Xmx512M
  AddVMOption -XX:MaxPermSize=512M
  </code></pre>
  
  <p>and in the ide.conf I have </p>
  
  <pre><code>AddVMOption -Xms256M
  AddVMOption -Xmx512M
  </code></pre>
  
  <p>I have also tried changing the <code>ant-sca-compile.xml</code></p>
  
  <p><a href="https://community.oracle.com/thread/2421702" rel="nofollow noreferrer">https://community.oracle.com/thread/2421702</a></p>
  
  <p>and adding the environment variable <code>EXTRA_JAVA_PROPERTIES</code>.  </p>
  
  <p><a href="https://community.oracle.com/thread/2133213" rel="nofollow noreferrer">https://community.oracle.com/thread/2133213</a></p>
  
  <p>Nothing has been fruitful.</p>
  
  <p>I compiled this fine a few days ago and now I can't get it to work.  Occasionally before I would get this and I could remedy this by closing a few other applications, now that doesn't work any more.</p>