activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Holt <>
Subject Re: Help understanding memory usage/limits
Date Wed, 07 Apr 2010 10:22:11 GMT

Sorry about the thread hijack - however if i have something like this

                    <policyEntry queue=">" memoryLimit="1mb"

			  <memoryUsage limit="20mb"/>
			  <storeUsage limit="100mb"/>
			  <tempUsage limit="100mb"/>

and an Xmx of 32mb

Once it reaches a limit of 1mb of messages per queue it will start to page
out to disk. 

And the activemq system reserves 20mb of memory for itself?

Is the 1mb then across all queues. So if i have 16 queues i in fact need
16mb. Because then the 20mb + 16 * 1mb will exceed my xmx value?

Sorry if i am being obtuse but like the poster i am trying to see how the 3
memory settings relate to each other.

Coincidentally i have tested the above on 5.3.1 and it works really well. If
i use 5.3 it breaks which i think is due to this and this 

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

View raw message