You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by blackbear <xi...@naver.com> on 2009/09/15 02:36:06 UTC

i have a problem about Topic [re-question : detail info]


almostly I have 20000 users to connect to my topic. 
but my topic raise 'Java.Lang.OutOfMemoryError' when it has 900   
consumers. 

how can i achive my goal? (20000 users) 
anyone who know about this problem, please give me a hint. 

------------------my environment ---------------
cpu : pentium4 3Ghz
physical ram : 1Ghz

JVM Memory setting : Xmx1024m -XX:MaxPermSize=512

and my configuration is
http://www.nabble.com/file/p25445987/activemq.xml activemq.xml 

--------------------------------------------------
-- 
View this message in context: http://www.nabble.com/i-have-a-problem-about-Topic--re-question-%3A-detail-info--tp25445987p25445987.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: i have a problem about Topic [re-question : detail info]

Posted by Bruce Snyder <br...@gmail.com>.
On Mon, Sep 14, 2009 at 6:36 PM, blackbear <xi...@naver.com> wrote:
>
>
> almostly I have 20000 users to connect to my topic.
> but my topic raise 'Java.Lang.OutOfMemoryError' when it has 900
> consumers.
>
> how can i achive my goal? (20000 users)
> anyone who know about this problem, please give me a hint.
>
> ------------------my environment ---------------
> cpu : pentium4 3Ghz
> physical ram : 1Ghz
>
> JVM Memory setting : Xmx1024m -XX:MaxPermSize=512
>
> and my configuration is
> http://www.nabble.com/file/p25445987/activemq.xml activemq.xml

Chances are you will need to do some tuning to support that many
clients connecting to a single broker. Take a look the following pages
on the website:

http://activemq.apache.org/javalangoutofmemory.html
http://activemq.apache.org/performance-tuning.html
http://activemq.apache.org/performance.html

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: i have a problem about Topic [re-question : detail info]

Posted by Rob Davies <ra...@gmail.com>.
On 15 Sep 2009, at 01:36, blackbear wrote:

>
>
> almostly I have 20000 users to connect to my topic.
> but my topic raise 'Java.Lang.OutOfMemoryError' when it has 900
> consumers.
>
> how can i achive my goal? (20000 users)
> anyone who know about this problem, please give me a hint.
>
> ------------------my environment ---------------
> cpu : pentium4 3Ghz
> physical ram : 1Ghz
>
> JVM Memory setting : Xmx1024m -XX:MaxPermSize=512
>
> and my configuration is
> http://www.nabble.com/file/p25445987/activemq.xml activemq.xml
>
> --------------------------------------------------
> -- 
> View this message in context: http://www.nabble.com/i-have-a-problem-about-Topic--re-question-%3A-detail-info--tp25445987p25445987.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


So first place to start  is:

  http://activemq.apache.org/how-do-i-configure-10s-of-1000s-of-queues-in-a-single-broker-.html
Certainly use nio:// transport - and I'd recommend looking at Kahadb -
http://activemq.apache.org/kahadb.html

with  a 5.3-SNAPSHOT

cheers,

Rob

Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/