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)u8...@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