activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yunusbayraktar <>
Subject Re: Urgent - please help
Date Tue, 03 Jul 2007 12:30:31 GMT

Thanks for your quick reply. We still need the messages for the consumers
that are not available at the moment. The consumers are display devices and
they can go off momentarily and when they come back the messages that were
sent for them needs to be displayed.

We currently are using apache-activemq-5.0-20070702.220514-14.

Is there any plan for fixing the memory problem for the non-persistent
expired messages when there is no consumer around ?



James.Strachan wrote:
> On 7/3/07, yunusbayraktar <> wrote:
>> Hi James,
>> We have a list of clients and for each client we create a separate
>> queue(some of them are persistent, some of them are not) dynamically. The
>> number of clients can be up to 750. We preferred this way because we
>> assumed
>> that this may be faster than a single queue with Message Selector
>> pattern.
>> We are satisfied with the process time but the memory consumption is
>> constantly increasing even though we use TTL(=5 sec) for our messages
>> when
>> there is no consumer. As soon as the consumers are at work the memory
>> consumtion starts to fall down. We concluded that if there is no consumer
>> for an expired message, it is not removed from the memory.
> If you want messages to be discarded for consumers that are not
> available, why not use temporary queues, since they do exactly that
> (delete all messages when a consumer goes away)?
>> I read that this
>> was one of the fixes in Snaphot-5.0.
> So you could try 5.x?
> -- 
> James
> -------

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message