Saturday, 16 August 2014

Error During weblogic Admin start: Error occurred during initialization of VM Could not reserve enough space for object heap

========================================================================
Applies to:
Weblogic Server: 10.3.6
========================================================================
Problem Summary:
Unable to start becuase of heap error.

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













========================================================================
Root Cause:
Heap allocated to server wasn't adequate
========================================================================
Resolution:
1. Go to setSOADomainEnv.cmd file located under C:\OraclePS6\Middleware\user_projects\domains\test_domain\bin

2. Set below default properties to,
set JAVA_OPTIONS=%JAVA_OPTIONS%
set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
set PORT_MEM_ARGS=-Xms768m -Xmx1536m

if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=512m
set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=768m

3. Restart the server using startWeblogic.cmd

No comments:

Post a Comment