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/