Hi, I am using ActiveMQ 5.2.0 as messaging server and tomcat as Application server on Solaris OS. After 7 days of continuous running, the ActiveMQ task threads are going into a out of memory state on web server and there are no ERROR or EXCEPTION logs in ActiveMQ server side. The WebApplication has both ActiveMQ clients and server.
It appears to be some memory leak either in application or in ActiveMQ. what does the thread "ActiveMQ task" do? does this thread execute application logic? could you please throw pointers in narrowing down my issue? Thanks in Advance, Ram ERROR Logs: Exception in thread "ActiveMQ Task" Exception in thread "ActiveMQ Task" java.lang.OutOfMemoryError: Java heap space Exception in thread "ActiveMQ Task" Exception in thread "ActiveMQ Task" Exception in thread "ActiveMQ Task" Exception in thread "ActiveMQ Task" at org.apache.activemq.openwire.OpenWireFormat.<init>(OpenWireFormat.java:59) at org.apache.activemq.openwire.OpenWireFormat.<init>(OpenWireFormat.java:66) at org.apache.activemq.openwire.OpenWireFormatFactory.createWireFormat(OpenWireFormatFactory.java:62) at org.apache.activemq.transport.TransportFactory.createWireFormat(TransportFactory.java:212) at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:155) at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:93) at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:682) at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:115) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Exception in thread "ActiveMQ Task" java.lang.OutOfMemoryError: Java heap space Exception in thread "ActiveMQ Task" java.lang.OutOfMemoryError: Java heap space Exception in thread "ActiveMQ Task" java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread "ActiveMQ Task" at org.apache.activemq.openwire.OpenWireFormat.<init>(OpenWireFormat.java:59) at org.apache.activemq.openwire.OpenWireFormat.<init>(OpenWireFormat.java:66) at org.apache.activemq.openwire.OpenWireFormatFactory.createWireFormat(OpenWireFormatFactory.java:62) at org.apache.activemq.transport.TransportFactory.createWireFormat(TransportFactory.java:212) at org.apache.activemq.transport.TransportFactory.doCompositeConnect(TransportFactory.java:155) at org.apache.activemq.transport.TransportFactory.compositeConnect(TransportFactory.java:93) at org.apache.activemq.transport.failover.FailoverTransport.doReconnect(FailoverTransport.java:682) at org.apache.activemq.transport.failover.FailoverTransport$2.iterate(FailoverTransport.java:115) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Exception in thread "ActiveMQ Task" Exception in thread "ActiveMQ Task" java.lang.OutOfMemoryError: Java heap space -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-Task-going-into-a-out-of-memory-state-tp2654966p2654966.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.