Monday, June 11, 2012

Could not create the Java virtual machine in weblogic

Could not create the Java virtual machine in weblogic :

After installing SOA server  as managed server when i started admin server it was giving  following error

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

It came because server did not able to reserve space in JVM for server.

Solution :
1-Go to  directory where you have installed domain.In my case domain name is soa_domain

2-Then open  setSOADomainEnv.cmd if operation system is window or if you are using UNIX.

By default  it has following setting

set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
set PORT_MEM_ARGS=-Xms768m -Xmx1536m

3-Here PORT_MEM_ARGS has assigned wrong amount of memory.Replace with following code

set PORT_MEM_ARGS=-Xms512m -Xmx1024m

4-Start the server again .

Hope it will start successfully.



  1. I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.


    Diverticulitis Treatment Diverticulitis Diet