Could not reserve enough space for object heap

The SAP JAVA system could not up and you have found below error from the trace files.

dev_server0

Error occurred during initialization of VM
Could not reserve enough space for object heap
[Thr 1240] JLaunchIAbortJava: abort hook is called
[Thr 1240] **********************************************************************
[Thr 1240] *** ERROR => The Java VM aborted unexpectedly.
[Thr 1240] *** Please see SAP Note 943602 , section 'Java VM crashes'
[Thr 1240] *** for additional information and trouble shooting.
[Thr 1240] **********************************************************************
[Thr 1240] JLaunchCloseProgram: good bye (exitcode = -2)

std_server0

--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name   : server0
pid         : 2448
system name : SID
system nr.  : 00
started at  : Fri Oct 18 10:23:04 2013

[Thr 1012] MtxInit: 10001 0 2
Error occurred during initialization of VM
Could not reserve enough space for object heap
--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name   : server0
pid         : 2448
system name : SID
system nr.  : 00
started at  : Fri Oct 18 10:23:09 2013

[Thr 5284] MtxInit: 10001 0 2
Error occurred during initialization of VM
Could not reserve enough space for object heap

Solution

For 64 bit operating system, the recommended value is 2048MB but it is still depends on your configured physical memory. In our case, the heap size was configured at -Xms2048 but our system was lack of free memory. So, we have adjusted the heap size to -Xms1024. Please look up the parameter value in configtool.

Reference

SAP Note 696410
SAP Note 835704
SAP Note 723909

You May Also Like

Leave a Reply?