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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Hari M S, 1 year ago
unable to create new native thread
via Stack Overflow by Unknown author, 2 years ago
via Google Groups by sebastien, 2 years ago
via https://bugzilla.redhat.com/bugzilla/ by Bengt Lüers, 1 year ago
via GitHub by pranavv
, 11 months ago
unable to create new native thread
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.addThread(ThreadPoolExecutor.java:681)
at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(ThreadPoolExecutor.java:706)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:650)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:78)
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService.init(ClientSmartListenerService.java:197)
at com.hazelcast.client.spi.impl.ClientClusterServiceImpl.initMembershipListener(ClientClusterServiceImpl.java:181)
at com.hazelcast.client.spi.impl.listener.ClientSmartListenerService.start(ClientSmartListenerService.java:146)
at com.hazelcast.client.impl.HazelcastClientInstanceImpl.start(HazelcastClientInstanceImpl.java:313)
at com.newbreak.common.server.HazelCastProvider._initialize(HazelCastProvider.java:60)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 times, 2 weeks ago
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

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