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 to....eg, 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
memory.

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
messages


On Thu, Jul 4, 2013 at 1:24 PM, binita.bharati <binita.bhar...@gmail.com>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:
> http://activemq.2283324.n4.nabble.com/Regarding-AMQ-4181-JMS-queue-browser-returns-only-page-size-number-of-messages-tp4668724p4668885.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>



-- 
*Christian Posta*
http://www.christianposta.com/blog
twitter: @christianposta

Reply via email to