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

nabble.com | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Hearthstone closed

    GitHub | 3 years ago | shakudu
    java.lang.OutOfMemoryError: unable to create new native thread
  2. 0

    OOM related to VPN Status

    GitHub | 2 years ago | aldenml
    java.lang.OutOfMemoryError: unable to create new native thread
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    unable to create new native thread

    at java.lang.Thread.start0()
  2. Java RT
    Thread.start
    1. java.lang.Thread.start0(Native Method)
    2. java.lang.Thread.start(Unknown Source)
    2 frames
  3. ActiveMQ :: Core
    AMQPersistenceAdapter.createTopicMessageStore
    1. org.apache.activemq.thread.DedicatedTaskRunner.<init>(DedicatedTaskRunner.java:42)
    2. org.apache.activemq.thread.TaskRunnerFactory.createTaskRunner(TaskRunnerFactory.java:79)
    3. org.apache.activemq.store.amq.AMQMessageStore.<init>(AMQMessageStore.java:92)
    4. org.apache.activemq.store.amq.AMQTopicMessageStore.<init>(AMQTopicMessageStore.java:46)
    5. org.apache.activemq.store.amq.AMQPersistenceAdapter.createTopicMessageStore(AMQPersistenceAdapter.java:455)
    5 frames
  4. ActiveMQ :: Broker
    TransportConnection.processMessage
    1. org.apache.activemq.broker.region.DestinationFactoryImpl.createDestination(DestinationFactoryImpl.java:94)
    2. org.apache.activemq.broker.region.AbstractRegion.createDestination(AbstractRegion.java:425)
    3. org.apache.activemq.broker.jmx.ManagedTopicRegion.createDestination(ManagedTopicRegion.java:56)
    4. org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:120)
    5. org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:266)
    6. org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141)
    7. org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:147)
    8. org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:141)
    9. org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:148)
    10. org.apache.activemq.broker.region.RegionBroker.send(RegionBroker.java:425)
    11. org.apache.activemq.broker.TransactionBroker.send(TransactionBroker.java:224)
    12. org.apache.activemq.broker.BrokerFilter.send(BrokerFilter.java:125)
    13. org.apache.activemq.broker.CompositeDestinationBroker.send(CompositeDestinationBroker.java:95)
    14. org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:132)
    15. org.apache.activemq.broker.TransportConnection.processMessage(TransportConnection.java:437)
    15 frames
  5. ActiveMQ :: Core
    ActiveMQMessage.visit
    1. org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:624)
    1 frame
  6. ActiveMQ :: Broker
    TransportConnection$1.onCommand
    1. org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:292)
    2. org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:180)
    2 frames
  7. AMQ HTTP
    TransportSupport.doConsume
    1. org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
    2. org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)
    3. org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)
    4. org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)
    4 frames
  8. ActiveMQ :: Core
    TcpTransport.run
    1. org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196)
    2. org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)
    2 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame