[
https://issues.apache.org/jira/browse/AMQ-6604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher L. Shannon closed AMQ-6604.
---------------------------------------
Resolution: Invalid
Closing this as this is most likely something to be solved through
configuration and tuning and is not an actual bug. This can be reopened if you
can show there is an actual memory leak somewhere cause by a bug.
You should take a look at http://activemq.apache.org/javalangoutofmemory.html
for some general guidance on out of memory errors.
Also, version 5.8.0 is very old at this point and there have been a lot of
fixes since then so upgrading to a newer version may also help.
If you still need more help you can contact the users mailing list
http://activemq.apache.org/mailing-lists.html
> Async error occurred: java.lang.OutOfMemoryError: unable to create new native
> thread
> ------------------------------------------------------------------------------------
>
> Key: AMQ-6604
> URL: https://issues.apache.org/jira/browse/AMQ-6604
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.8.0
> Reporter: Vidya Sagar D
> Labels: activemq, broker, jvm, memory, memory-leak
>
> Messages are not consumed after some point of time in ActiveMQ server.
> Facing error like below:
> Async error occurred: java.lang.OutOfMemoryError: unable to create new native
> thread | org.apache.activemq.broker.TransportConnection.Service | ActiveMQ
> Transport: tcp:///17.98.33.5:60638@61616
> 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
> java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
> at
> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368)
> at
> org.apache.activemq.thread.PooledTaskRunner.wakeup(PooledTaskRunner.java:81)
> at
> org.apache.activemq.broker.region.Queue.asyncWakeup(Queue.java:1719)
> at org.apache.activemq.broker.region.Queue.wakeup(Queue.java:1712)
> at
> org.apache.activemq.broker.region.Queue.removeSubscription(Queue.java:582)
> at
> org.apache.activemq.broker.region.AbstractRegion.removeConsumer(AbstractRegion.java:380)
> at
> org.apache.activemq.broker.region.RegionBroker.removeConsumer(RegionBroker.java:364)
> at
> org.apache.activemq.broker.jmx.ManagedRegionBroker.removeConsumer(ManagedRegionBroker.java:247)
> at
> org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:117)
> at
> org.apache.activemq.advisory.AdvisoryBroker.removeConsumer(AdvisoryBroker.java:253)
> at
> org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:117)
> at
> org.apache.activemq.broker.BrokerFilter.removeConsumer(BrokerFilter.java:117)
> at
> org.apache.activemq.broker.MutableBrokerFilter.removeConsumer(MutableBrokerFilter.java:123)
> at
> org.apache.activemq.broker.TransportConnection.processRemoveConsumer(TransportConnection.java:651)
> at org.apache.activemq.command.RemoveInfo.visit(RemoveInfo.java:76)
> at
> org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:329)
> at
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:184)
> at
> org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
> at
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
> at
> org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:288)
> at
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
> at
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
> at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
> at java.lang.Thread.run(Thread.java:745)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)