activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <>
Subject Re: Stopped waiting for space in pendingMessage cursor messages
Date Wed, 31 Oct 2012 12:52:28 GMT

On Oct 30, 2012, at 1:18 PM, kureckam wrote:

> Below is the config file. I don't have persistence set to true and the
> ActiveMQ heap size is 1024mb.

Sorry what exactly do you refer to when saying "don't have persistence set to true"? Do you
refer to the persistence attribute on the broker xml element? If sets not set it defaults
to true.

Your memoryUsage configuration is well beyond the JVMs max heap size. So you should not run
out of memory because of keeping too many messages in the brokers memory. The rest of the
broker config looks ok as well.
Do you by any chance have a large number of client connections to the broker? Each client
connection results in two threads being created which obviously also requires a some amount
of Java heap space. 

I suggest you monitor your broker usage closely using jconsole and check for any unusual number
(i.e. jvm heap size increasing over time, the Broker MBean statistics, destination statistic,
number of subscriptions). One of these should probably indicate if and where there is a problem.


Torsten Mielke

View raw message