Java java.lang.OutOfMemoryError: "unable to create new native thread" または "Failed to create a thread"
Issue
-
OpenJDK または Oracle JDK を使用した場合、JBoss サーバーログに次の例外が表示されます。
java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) ... -
IBM javacore ファイルには、以下が表示されます。
1TISIGINFO Dump Event "systhrow" (00040000) Detail "java/lang/OutOfMemoryError" "Failed to create a thread: retVal -1073741830, errno 11" received
Environment
- OpenJDK
- Oracle JDK
- IBM JDK
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
