activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yunusbayraktar <yunusbayrak...@gmail.com>
Subject NON PERSISTENT Messaging Memory Problem
Date Mon, 02 Jul 2007 11:37:53 GMT

Hi,

I am using latest SNAPSHOT and I have a memory problem when sending
NON_PERSISTENT messages with 5-sec(5000) ttl value. None of the expired
messages are received by any consumer but they are not freed from the memory
too. When running my application there is no decrease in memory usage for
the expired messages. Finally, broker gives the exception below:

Exception in thread "ActiveMQ Transport: tcp:///127.0.0.1:4118"
java.lang.OutOfMemoryError: Java heap space
        at
org.apache.activemq.openwire.v3.BaseDataStreamMarshaller.tightUnmarshalByteSequence(BaseDataStreamMarshaller.
java:411)
        at
org.apache.activemq.openwire.v3.MessageMarshaller.tightUnmarshal(MessageMarshaller.java:72)
...

I want to find a way for releasing NON PERSISTENT expired messages from the
RAM.

Thanks for your help in advance.
-- 
View this message in context: http://www.nabble.com/NON-PERSISTENT-Messaging-Memory-Problem-tf4011671s2354.html#a11392386
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message