Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDeveloper Could not reserve enough space for object heap

Tom HenricksenFeb 6 2015 — edited Feb 16 2015

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 10GB of RAM and when I try to build the composite I see the following message


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


Searching around I have gotten numerous recommendations of changes to the ide.conf and jdev.conf. 

http://stackoverflow.com/questions/11045697/jdeveloper-could-not-reserve-enough-space-for-object-heap


Currently I have the jdev.conf set at

AddVMOption -Xmx512M

AddVMOption -XX:MaxPermSize=512M


and in the ide.conf I have

AddVMOption -Xms256M

AddVMOption -Xmx512M


I have also tried changing the ant-sca-compile.xml https://community.oracle.com/thread/2421702


and adding the environment variable EXTRA_JAVA_PROPERTIES.  https://community.oracle.com/thread/2133213



Nothing has been fruitful. 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.


Thanks, Tom

Message was edited by: Tom Henricksen

This post has been answered by rajeev.y.ranjan-Oracle on Feb 8 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2015
Added on Feb 6 2015
3 comments
2,220 views