Friday 11 November 2011

Install EM12c - Error occurred during initialization of VM

When I install EM12c on Linux 32 platform and match all Preinstallation Requirements. But It could not be secceed.
Below log file:
/middleware/oms/cfgtoollogs/omsca/logs20111108155441/msLogs/EMGC_OMS1.out


Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
Starting WLS with line:
/u01/app/Middleware/jdk16/jdk/bin/java -server   -Xms256m -Xmx1524m -XX:MaxPermSize=612M - 
...............................

.......................................
Error occurred during initialization of VM
Could not reserve enough space for object heap

Could not create the Java virtual machine.

middleware/oms/cfgtoollogs/omsca/omsca_20111108155441.log

Nov 8, 2011 4:02:34 PM oracle.sysman.omsca.framework.OMSGenericAdapter postDeployAndReposSetup
SEVERE: OMSCA-ERR:Post "Deploy and Repos Setup" operations failed. Check the trace file:/etc/oracle/em12/middleware/oms/cfgtoollogs/omsca/omsca_20111108155441.log
Nov 8, 2011 4:02:34 PM oracle.sysman.omsca.framework.OMSCAFreshInstall execute
SEVERE: Post "Deploy and Repos Setup" operations failed.
Nov 8, 2011 4:02:34 PM oracle.sysman.omsca.framework.OMSConfigAssistantDriver main




Solution::


-Xmx1524m


This value it gets from below script  


/u01/app/Middleware/oms/sysman/omsca/scripts/wls/create_domain.py


I have modified the script and reduced the size of -Xmx1524M Java parameter to -Xmx768M  and did *retry* on installation windows. And it passed this bits sucessfully.


Thanks


Hemesh.

No comments: