Symptom
It's not possible to start the agent and at std_smgagent.out you can see the following error:
OS: [15944] 10:03:21 ***Warning: pthread_create failed (11, Resource temporarily unavailable)
: [15944] 10:03:21 ***ERROR (:0): Native thread creation failed: native thread creation failed (returned error code 11): EAGAIN
OS: [16201] 10:03:21 ***Warning: pthread_create failed (11, Resource temporarily unavailable)
: [16201] 10:03:21 ***ERROR (:0): Native thread creation failed: native thread creation failed (returned error code 11): EAGAIN
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 373840 bytes for Chunk::new. Out of swap space or heap resource limit exceeded (check with limits or ulimit)?
# An error report with more information is generated,
# it is saved as a file at this location:
# /usr/sap/DAA/SMDA97/SMDAgent/hs_err_pid24313904.log
[thread 4370 also had an error (0xb)
Details: pc=0x090000000dd4f6d0 siginfo: si_signo: 11 (SIGSEGV), si_code: 51 (SEGV_ACCERR), si_addr: 0x00000000000000a0
]
In other cases, in the std_smdagent.out, you find the following:
os::malloc: failed to malloc <bytes> bytes (errno 12).#
# A fatal error has been detected by SAP Java Virtual Machine:
#
# java.lang.OutOfMemoryError: requested 148928 bytes for Chunk::new - os::malloc. Out of swap space or heap resource limit exceeded (check with limits or ulimit)?
--------------------------------------------------------------------------------
stdout/stderr redirection
--------------------------------------------------------------------------------
node name : SMDAgent
host name : <host_name>
system name : DAA
system nr. : 97
started at : Sun Oct 18 15:46:41 2015
os::malloc: failed to malloc <bytes> bytes (errno 12).#
# A fatal error has been detected by SAP Java Virtual Machine:
#
# java.lang.OutOfMemoryError: requested <bytes> bytes for Chunk::new - os::malloc. Out of swap space or heap resource limit
Read more...
Environment
Diagnostics agents running on UNIX.
Product
Keywords
std_smdagent.out hotspot_malloc_oom hs_err_pid , 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.