activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: Regarding AMQ-4181 - JMS queue browser returns only page size number of messages
Date Sun, 07 Jul 2013 21:20:00 GMT
The broker's main memory settings <memoryUsage> is used to indicate to the
broker how much space in the heap to use for messages. If you specify
destination memory limits, you indicate to the broker how much space to
*limit* this destination, default memoryUsage==64MB... if you
don't specify a limit, each destination can use part of the 64MB up to the
64MB limit... if you give a destination a limit, eg 1MB, then that
destination cannot use more than 1MB... you have to decide what values are
appropriate for your use case and how many messages should be kept in

In your case, the limit was set to 1MB, but you were expecting to page in >
2MB in messages to be browsed... so you were only able to see ~1MB worth of

On Thu, Jul 4, 2013 at 1:24 PM, binita.bharati <>wrote:

> Thanks !
> It was able to read all the 1000 messages after increasing the memory limit
> to 5mb. What are the implications of keeping a high memory limit please ? I
> mean, ideally, what should be the value for this parameter ?
> --
> 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