activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: As configured to accept the Brocken 100,000 data?
Date Mon, 22 Jun 2009 15:19:00 GMT
On Mon, Jun 22, 2009 at 9:07 AM, demonair<demonair@gmail.com> wrote:
>
>
>
> demonair wrote:
>>
>> Hi all
>>
>> I have a problem when trying to insert more than 4000 data to the queue
>> will not let me.
>>
>> No error mark, only no insert more..
>>
>> I need to configure the queue to accept more data?
>>
>> if so, are some examples of this.
>>
>> Thanks in advance.
>>
>>
>
>
> Well the answer was very simple only you have to modify the file
> "activemq.xml"
>
> where say :
> originally
>
>  <policyEntry queue=">" memoryLimit="5mb"/>
>                    <policyEntry topic=">" memoryLimit="5mb">
>                      <!-- you can add other policies too such as these
>
> I'm
>  <policyEntry queue=">" memoryLimit="15mb"/>
>                    <policyEntry topic=">" memoryLimit="15mb">
>                      <!-- you can add other policies too such as these
>
> I add more memory space and issue fixed ...

Also note that you should increase the memoryUsage element in the
activemq.xml to more than 20mb. By default, the bin/activemq startup
script gives the JVM in which ActiveMQ runs 512mb, so you can increase
the memoryUsage almost that high. I recommend at least 128mb as the
JVM might need some head room so you may not be able to assign the
full 512mb to ActiveMQ.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message