Tuesday 22 September 2015

SOA Suite 11g: Unable to start domain



If you have recently installed

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.
then edit the file




<domain home>\bin\setSOADomainEnv.cmd or sh (depending on your platform) and modify the line:
 
set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m


 
to something like:



set DEFAULT_MEM_ARGS=-Xms512m -Xmx768m
 
Start the weblogic server again. It should work.