Friday 1 September 2017

Error occurred during initialization of VM

Generally when we install SOA Suite 11g on windows platform, we face below error while starting admin server:-

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

Derby server stopped.

We can see this on command prompt as below :-

Solution:-
Go to 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


After that , just restart the server...

No comments:

Post a Comment