Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Java java.lang.OutOfMemoryError: "unable to create new native thread" または "Failed to create a thread"

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In