You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by demonair <de...@gmail.com> on 2009/06/20 00:47:55 UTC
As configured to accept the Brocken 100,000 data?
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.
--
View this message in context: http://www.nabble.com/As-configured-to-accept-the-Brocken-100%2C000-data--tp24119882p24119882.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: As configured to accept the Brocken 100,000 data?
Posted by Bruce Snyder <br...@gmail.com>.
On Mon, Jun 22, 2009 at 9:07 AM, demonair<de...@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
Re: As configured to accept the Brocken 100,000 data?
Posted by demonair <de...@gmail.com>.
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 ...
--
View this message in context: http://www.nabble.com/As-configured-to-accept-the-Brocken-100%2C000-data--tp24119882p24148295.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.