activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: Configuring Memory Limit per Group of Queues
Date Thu, 23 May 2013 12:42:59 GMT
Doesn't exist as a config options right now, but we could look into adding
it. Can you open a jira for it?

To achieve what you're looking for at the moment, you might have to
partition your queue groups among separate brokers. Not sure what your use
case is, or how feasible that is for you.

On Wed, May 22, 2013 at 5:42 AM, Liviu I. <> wrote:

> Hi,
> I need some help in configuring the memory usage in AMQ. I have a project
> were we have configured memory limits per queue. We have done this to use
> the ResourceAllocationException for throttling logic (on the client side).
> So far this has worked for us without any problems.
> But what I need now is to configure a single memory limit for a group of
> queues.
> I have 20 queues that can receive many messages that could have up to 4 MB.
> These queues together need to share a memory limit of 32MB. The
> "memoryUsage" set in the broker's config xml is 128MB.
> Placing a limit on each queue does not help because I could be receiving 8
> messages on a single queue at any time, so just one queue could use the
> entire 32MB of memory that I allow.
> A solution could be to set the limit for all these queues together and make
> them share the 32MB memory limit. Is something like this possible? OR is
> there a different and better solution to this scenario?
> I do need to mention that our project uses a large number of queues and I
> need to configure just these ones, and that all of our messages are
> persistent.
> Any help on how I can achieve this would be very much appreciated.
> Thank You
> L.
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

*Christian Posta*
twitter: @christianposta

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message