activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Pavlovich <>
Subject Re: storeUsage not working
Date Tue, 24 Jan 2012 22:33:59 GMT

The attachment didn't seem to come through to the list.  ActiveMQ will 
persist messages that are set as persistent messages .  It will use the 
temp space in some cases, but if you are sending non-persistent messages 
through, there is a good case that is the reason you are hitting the 
producer flow control.

JMSMessage msg = ...

Hope this helps!
Matt Pavlovich

On 1/20/12 1:21 PM, kureckam wrote:
> I'm trying to setup ActiveMQ to store a large number of messages sent to a
> queue but it seems to only use the memory limit and not the store limit. If
> I view the queue via jConsole it shows that cursorMemoryUsage reaches 1.5mb
> at which point it throws an Exception indicating memory limit reached. I was
> under the impression that if data was not consumed it would be stored to
> disk until messages were consumed but it seems to only use memory not disk
> space.
> Below is the described activemq.xml file.  I've tried changing
> producerFlowControl to false and removing the whole destinationPolicy tag
> but the same result.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

View raw message