SAP Knowledge Base Article - Preview

1884224 - AS Java not starting due to OS resources limit


The AS Java does not start, with the error below on the dev_serverX trace:

java.lang.OutOfMemoryError: Failed to create a thread: retVal -1073741830, errno 11#

Or, when using SAP JVM, with the following error on the JdkDetection_X.txt:

Exception in thread "main" java.lang.OutOfMemoryError: Could not allocate native memory: Native memory exhausted. Please see SAP note 1552973.

Or, when using a newer release of the AS Java:

OS: [47646] 10:23:38    ***Warning: pthread_create failed (11, Resource temporarily unavailable)
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(



  • SAP NetWeaver Application Server Java
  • Unix-like OS


SAP NetWeaver Application Server for Java all versions


dev_server, jdkdetection, limits, allocate, root, sidadm, operating, system, native thread creation failed, unable to create new native thread , KBA , BC-JAS-SF , Startup Framework , BC-OP , Operating System Platforms , 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.