Error occurred during initialization of VM

After fresh installation of Oracle SOA, I started getting the below error while starting servers.

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

After trying different solution from the Web I changed the JDK version and it started working fine. I was using C:OracleMiddlewarejdk160_24 JDK previously which did not work and then I updated it with C:Program FilesJavajdk1.8.0_51 in setDomainEnv file and it started working fine. 


Posted

in

,

by

Tags: