java.lang.OutOfMemoryError: unable to create new native thread

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via oracle.com by Unknown author, 2 years ago
via Oracle Community by Xavi, 1 year ago
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:616)
at com.sun.jmx.remote.internal.ServerCommunicatorAdmin.(ServerCommunicatorAdmin.java:32)
at javax.management.remote.rmi.RMIConnectionImpl$RMIServerCommunicatorAdmin.(RMIConnectionImpl.java:1259)
at javax.management.remote.rmi.RMIConnectionImpl.(RMIConnectionImpl.java:138)
at javax.management.remote.rmi.RMIJRMPServerImpl.makeClient(RMIJRMPServerImpl.java:137)
at javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:230)
at javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:179)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:637)

Users with the same issue

10 times, 2 months ago
Once, 2 months ago
Once, 3 months ago
Once, 3 months ago
Once, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.