activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramdas Sawant" <replyram...@gmail.com>
Subject Re: Memory Usage limit in ActiveMQ 4.1.2 and ActiveMQ 5.1.0
Date Fri, 25 Jul 2008 08:52:39 GMT
Hi all,
         Even i am looking forward for the explaination. My initial
assumption turned out to be false. I thought setting <storeUsage limit="1
mb" name="foo"> will
limit my publishing of messages once the data file size reaches 1mb (in case
of persistent messages and durable subscriber not being active). But what is
really happening is files of 1mb are getting created as i am publishing
messages to that particular Topic in loop.

What i really want is to get a notification/exception while publishing to a
topic after certain size of the data file is reached. How can i achive this.
Thanks in advance.



Regards,
Ramdas


On 7/25/08, Bala M <balam80@gmail.com> wrote:
>
>
> Hi,
>
> Could you please explain usage of the elements "memoryUsage, storeUsage and
> tempUsage"? I searched this forum, but I am not clear on this topic.
>
> Also , what should the maximum limit for these elements?
>
>       <systemUsage>
>            <systemUsage>
>                <memoryUsage>
>                    <memoryUsage limit="20 mb"/>
>                </memoryUsage>
>                <storeUsage>
>                    <storeUsage limit="1 gb" name="foo"/>
>                </storeUsage>
>                <tempUsage>
>                    <tempUsage limit="100 mb"/>
>                </tempUsage>
>            </systemUsage>
>        </systemUsage>
>
> Thank you!
>
> -Bala
> --
> View this message in context:
> http://www.nabble.com/Memory-Usage-limit-in-ActiveMQ-4.1.2-and-ActiveMQ-5.1.0-tp18642033p18642033.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
If you think, "you can", you can
If you think, "you can't", you are right

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