SOA Suite 11g: Unable to start domain (Error occurred during initialization of VM)

Posted by Chris Tomkins on Oracle Blogs See other posts from Oracle Blogs or by Chris Tomkins
Published on Thu, 13 May 2010 13:01:47 +0000 Indexed on 2010/05/13 13:15 UTC
Read the original article Hit count: 307

Filed under:

If you have recently installed SOA Suite, created a domain and then tried to start it only to find it fails with the error:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

the solution is to edit the file <domain home>\bin\setSOADomainEnv.cmd/sh (depending on your platform) and modify the line:

set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m

to something like:

set DEFAULT_MEM_ARGS=-Xms512m -Xmx768m

Save the file and then try to start your domain again. Everything should now work at least it does on the Dell Latitude 630 laptop with 4Gb RAM that I have.

© Oracle Blogs or respective owner