Using the default config of ActiveMQ-4.0-RC2, I am getting an "Out of Memory"
error after sending around 3,000+ messages (3,440+ to be exact). The message
I am sending is "Message - i" where "i" is the count of message sent.
Error on ActiveMQ server console:
Exception in thread "[EMAIL PROTECTED]://localhost:60001"
java.lang.OutOfMemoryError: Java heap space
Error on Message Producer:
javax.jms.JMSException: The transport tcp://localhost:60001 of type:
org.apache.activemq.transport.tcp.TcpTransport is not running.
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:57)
at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1118)
at
org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1196)
at
org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:412)
at ProducerTest.send(ProducerTest.java:21)
at Tester.main(Tester.java:7)
Caused by: java.io.IOException: The transport tcp://localhost:60001 of type:
org.apache.activemq.transport.tcp.TcpTransport is not running.
at
org.apache.activemq.transport.TransportSupport.checkStarted(TransportSupport.java:108)
at
org.apache.activemq.transport.tcp.TcpTransport.oneway(TcpTransport.java:116)
at
org.apache.activemq.transport.InactivityMonitor.oneway(InactivityMonitor.java:141)
at
org.apache.activemq.transport.TransportFilter.oneway(TransportFilter.java:86)
at
org.apache.activemq.transport.WireFormatNegotiator.oneway(WireFormatNegotiator.java:77)
at
org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.java:44)
at
org.apache.activemq.transport.ResponseCorrelator.asyncRequest(ResponseCorrelator.java:63)
at
org.apache.activemq.transport.ResponseCorrelator.request(ResponseCorrelator.java:68)
at
org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1108)
... 4 more
Apr 4, 2006 9:00:59 AM org.apache.activemq.ActiveMQConnection
onAsyncException
WARNING: Async exception with no exception listener:
java.net.SocketException: Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at
org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:48)
at
org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:55)
at java.io.DataInputStream.readInt(DataInputStream.java:353)
at
org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:270)
at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:135)
at java.lang.Thread.run(Thread.java:595)
Anyone getting the same issue here? I never had this issue with RC1.
Thanks.
--
View this message in context:
http://www.nabble.com/Out-of-Memory---RC2-t1393354.html#a3745254
Sent from the ActiveMQ - User forum at Nabble.com.