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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Getting : Error occurred during initialization of VM when compiling

Drako13Jul 26 2012 — edited Aug 3 2013
Hello!

I am using Jdeveloper 11.1.1.6.0 and all of a sudden when I try to compile I get the following errors...

[scac] Error occurred during initialization of VM
[scac] Could not reserve enough space for object heap

I have tried to look for this issue on the web but non of the possible solutions seem to work. I was wondering if anyone might be able to provide some assistance on this.

Thanks in advance.

Edited by: 832187 on Jul 26, 2012 8:17 AM

Comments

Drako13
I fixed this by going into the ant-sca-compile.xml and changing the <jvmarg value="-Xmx512m"/>below.

Before
<target name="scac" description="Compile and validate a composite">
<scac input="${scac.input}" outXml="${scac.output}" error="${scac.error}" appHome="${scac.application.home}" failonerror="true" displayLevel="${scac.displayLevel}">
<jvmarg value="-Xms128m"/>
<jvmarg value="-Xmx1024m"/>
<jvmarg value="-XX:PermSize=32m"/>
<jvmarg value="-XX:MaxPermSize=512m"/>
<!-- jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/ -->
</scac>

After

<target name="scac" description="Compile and validate a composite">
<scac input="${scac.input}" outXml="${scac.output}" error="${scac.error}" appHome="${scac.application.home}" failonerror="true" displayLevel="${scac.displayLevel}">
<jvmarg value="-Xms128m"/>
<jvmarg value="-Xmx512m"/>
<jvmarg value="-XX:PermSize=32m"/>
<jvmarg value="-XX:MaxPermSize=512m"/>
<!-- jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/ -->
</scac>
User_TQR7L

THANKS ALOT!!!!!!!

It worked for me.

user13145115

THANKS A TON !!!! You saved me lot of time thanks again.

1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 31 2013
Added on Jul 26 2012
3 comments
1,571 views