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 Spring JIRA by Roland, 1 year ago
unable to create new native thread
via Spring JIRA by Roland, 1 year ago
unable to create new native thread
via GitHub by openhab-migration
, 2 years ago
unable to create new native thread
via mathworks.com by Unknown author, 2 years ago
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:714)
at org.springframework.core.task.SimpleAsyncTaskExecutor.doExecute(SimpleAsyncTaskExecutor.java:192)
at org.springframework.core.task.SimpleAsyncTaskExecutor.execute(SimpleAsyncTaskExecutor.java:166)
at org.springframework.data.redis.listener.RedisMessageListenerContainer.dispatchMessage(RedisMessageListenerContainer.java:948)
at org.springframework.data.redis.listener.RedisMessageListenerContainer.access$1400(RedisMessageListenerContainer.java:61)
at org.springframework.data.redis.listener.RedisMessageListenerContainer$DispatchMessageListener.onMessage(RedisMessageListenerContainer.java:939)
at redis.clients.jedis.BinaryJedisPubSub.process(BinaryJedisPubSub.java:102)
at redis.clients.jedis.BinaryJedisPubSub.proceedWithPatterns(BinaryJedisPubSub.java:69)
at org.springframework.data.redis.connection.jedis.JedisConnection.pSubscribe(JedisConnection.java:2681)
at org.springframework.data.redis.listener.RedisMessageListenerContainer$SubscriptionTask.eventuallyPerformSubscription(RedisMessageListenerContainer.java:763)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 6 months ago
530 times, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 9 months ago
4 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
59 more bugmates

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