[
https://issues.apache.org/activemq/browse/AMQ-2142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rob Davies resolved AMQ-2142.
-----------------------------
Resolution: Fixed
Fix Version/s: (was: 5.4.0)
5.3.0
Assignee: Rob Davies
dedicatedTaskRunner (no separate thread to run a task) is now off by default
> An application but always throw out of memory exception
> --------------------------------------------------------
>
> Key: AMQ-2142
> URL: https://issues.apache.org/activemq/browse/AMQ-2142
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.1.0
> Environment: Apache tomcat 6.0.13 tomcat memory1024M stack memory
> maxim256M thread stack size 4096KB
>
> Reporter: gongdonghui
> Assignee: Rob Davies
> Priority: Critical
> Fix For: 5.3.0
>
>
> Exception in thread "InactivityMonitor Async Task:
> java.util.concurrent.threadpoolexecutor$wor...@1a55477"
> java.lang.OutOfMemoryError: unable to create new native thread
> at java.lang.Thread.start0(Native Method)
> at java.lang.Thread.start(Unknown Source)
> at
> org.apache.activemq.broker.TransportConnection.stopAsync(TransportConnection.java:904)
> at
> org.apache.activemq.broker.TransportConnection.serviceTransportException(TransportConnection.java:218)
> at
> org.apache.activemq.broker.TransportConnection$1.onException(TransportConnection.java:192)
> at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:99)
> at
> org.apache.activemq.transport.TransportFilter.onException(TransportFilter.java:99)
> at
> org.apache.activemq.transport.WireFormatNegotiator.onException(WireFormatNegotiator.java:152)
> at
> org.apache.activemq.transport.InactivityMonitor.onException(InactivityMonitor.java:244)
> at
> org.apache.activemq.transport.InactivityMonitor$4.run(InactivityMonitor.java:164)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Exception in thread "ActiveMQ Transport Initiator: /218.26.227.189:12572"
> java.lang.OutOfMemoryError: unable to create new native thread
> at java.lang.Thread.start0(Native Method)
> at java.lang.Thread.start(Unknown Source)
> at
> org.apache.activemq.transport.TransportThreadSupport.doStart(TransportThreadSupport.java:43)
> at
> org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.java:382)
> at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:50)
> at
> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
> at
> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
> at
> org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNegotiator.java:72)
> at
> org.apache.activemq.transport.TransportFilter.start(TransportFilter.java:57)
> at
> org.apache.activemq.broker.TransportConnection.start(TransportConnection.java:850)
> at
> org.apache.activemq.broker.TransportConnector$1$1.run(TransportConnector.java:213)
> Exception in thread "InactivityMonitor WriteCheck"
> java.lang.OutOfMemoryError: unable to create new native thread
> at java.lang.Thread.start0(Native Method)
> at java.lang.Thread.start(Unknown Source)
> at
> java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(Unknown
> Source)
> at java.util.concurrent.ThreadPoolExecutor.execute(Unknown Source)
> at
> org.apache.activemq.transport.InactivityMonitor.writeCheck(InactivityMonitor.java:128)
> at
> org.apache.activemq.transport.InactivityMonitor$2.run(InactivityMonitor.java:103)
> at
> org.apache.activemq.thread.SchedulerTimerTask.run(SchedulerTimerTask.java:33)
> at java.util.TimerThread.mainLoop(Unknown Source)
> at java.util.TimerThread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.