activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Davies <rajdav...@gmail.com>
Subject Re: Memory Usage limit in ActiveMQ 4.1.2 and ActiveMQ 5.1.0
Date Mon, 28 Jul 2008 06:27:22 GMT
In version 5.2 - we can optionally send advisories when limits are  
reached - see http://activemq.apache.org/advisory-message.html
Hopefully 5.2 will be released soon

cheers,

Rob

On 28 Jul 2008, at 06:25, Ramdas Sawant wrote:

> Hi all,
>          Any thoughts on the below question.... I am really stuck  
> with this
> activity.... Thanks in advance
>
>
> Regards
> Ramdas
>
>
> On 7/25/08, Ramdas Sawant <replyramdas@gmail.com> wrote:
>>
>> 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
>
>
>
>
> -- 
> If you think, "you can", you can
> If you think, "you can't", you are right


Mime
View raw message