java.lang.OutOfMemoryError: unable to create new native thread in Java (Play Framework)

In meiner Anwendung läuft im amazon aws-Instanz. In diesen bin ich immer java.lang.OutofMemory-Fehler. Mein Beispiel ist unter ubuntu Maschine. Folgenden Fehler bekomme ich. Ich habe google, aber ich bin hier keine Lösung zu diesem Fehler.

    java.lang.OutOfMemoryError: unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(Thread.java:640)
        at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)
        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:176)
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:156)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:325)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

Ich möchte wissen, Wann diese Fehler auftreten und wie wir dies verhindern.

Dank inadvance.

Beenden und Starten Sie den web-servier...
Von Adressraum?
Nein. Das ist nicht aus dem Adressraum.
Wie können Sie so sicher?

InformationsquelleAutor MadTech | 2013-06-20

Schreibe einen Kommentar