SAP Knowledge Base Article - Preview

2456149 - Diagnostics Agents fails to start with error OutOfMemoryError on Linux X86 SLES12 SPS2


After install a Diagnostics Agents on Linux X86 SLES12 SPS2, the agent fails to start due to an out of memory error. The dev_smdagent shows the following:

F  [Thr 140317487847168] *** java.lang.OutOfMemoryError: unable to create new native thread (12 threads running, rlimit: STACK 8192k, CORE infinity, NPROC 257656, NOFILE 65535, AS infinity, DATA infinity , Memory: 4k page, physical 65978080k(41781260k free), swap 2103292k(2103292k free)  )


F  [Thr 140317487847168] *** ERROR => SfEStartupError: SfCSapVm::callMainMethod: : Cannot call method: static void com/sap/smd/agent/launcher/SMDAgentLauncher.main(String[])  [sfxxjvm.hpp  1409]
F  [Thr 140317487847168] *** ERROR => Java thread failed: SfEStartupError: : Cannot call method: static void com/sap/smd/agent/launcher/SMDAgentLauncher.main(String[])
 [sfxxjvm.hpp  1476]
F Thu Apr  6 08:11:34 2017
F  ********************************************************************************
F  *** ERROR => Cannot call main method in com/sap/smd/agent/launcher/SMDAgentLauncher.
F  ***
F  *** Please see section 'Java VM shared library issues'
F  *** in SAP Note 1316652 for additional information and trouble shooting advice.
F  ********************************************************************************
F  [Thr 140317587146624] *** LOG => exiting (exitcode -21003, retcode 2).
M  [Thr 140317587146624] CCMS: alert/disable_j2ee_monitoring set. CCMS Monitoring of J2EE Engine switched off.



  • SAP Solution Manager 7.10 and 7.20
  • SAP Solution Manager Diagnostics


SAP Solution Manager 7.1


smdagent smd agent start fail cannot start , KBA , SV-SMG-DIA-SRV-AGT , Agent Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.