SAP Knowledge Base Article - Preview

1847508 - Unable to create new native thread


  • You are running NetWeaver product with Red Hat Enterprise Linux 6.x version
  • You find Java Stack of SAP system does not start up because there is OutOfMemoryError as below in std_server<x>.o* file.
    Server process shutting down with exit code [666]; memory allocation error [OutOfMemoryError]java.lang.OutOfMemoryError: unable to create new native thread
     at java.lang.Thread.start0(Native Method)
     at java.lang.Thread.start(
     at java.util.Timer.<init>(
     at java.util.Timer.<init>(
    Memory allocation error [OutOfMemoryError] occurred
  • If execute "limit" command with <sid>adm user, there is result as below:

<hostname>:<sid>adm > limit
cputime            unlimited
filesize             unlimited
datasize           unlimited
stacksize          10240 kbytes 
coredumpsize    0 kbytes
memoryuse      unlimited
vmemoryuse     unlimited
descriptors        32800
memorylocked   64 kbytes
maxproc           1024  <<====



  • Release Independent
  • SAP NetWeaver
  • Red Hat Enterprise Linux 6.x


SAP Composition Environment all versions ; SAP NetWeaver all versions


native thread, OutOfMemoryError, limit, maxproc, stacksize, Linux OutOfMemoryError FATAL: Caught OutOfMemoryError! Node will exit with exit code 666java.lang.OutOfMemoryError: unable to create new native thread, EAGAIN, returned, code, 11, native thread creation failed , KBA , BC-OP-LNX , Linux , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , Problem

About this page

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

Search for additional results

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