Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 5308 invoked from network); 17 Jul 2007 21:33:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2007 21:33:59 -0000 Received: (qmail 41272 invoked by uid 500); 17 Jul 2007 21:33:56 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 41124 invoked by uid 500); 17 Jul 2007 21:33:56 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 41115 invoked by uid 99); 17 Jul 2007 21:33:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 14:33:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2007 14:33:51 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IAufi-00046g-Q7 for users@activemq.apache.org; Tue, 17 Jul 2007 14:33:30 -0700 Message-ID: <11658208.post@talk.nabble.com> Date: Tue, 17 Jul 2007 14:33:30 -0700 (PDT) From: brahn To: users@activemq.apache.org Subject: Re: ActiveMQ : java.lang.OutOfMemoryError: unable to create new native thread In-Reply-To: <11657559.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: brahn@firstam.com References: <11656339.post@talk.nabble.com> <73FD1BFF-5BB4-4B0C-B79A-F0DABCE84BCC@gmail.com> <11657296.post@talk.nabble.com> <11657559.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org We had this problem as well. We resolved it by sending a DISCONNECT command before our stomp client quits. If you don't send the DISCONNECT command, the connections will continue to add up in ActiveMQ until it crashes with the error you got. This behavior seems to have started with ActiveMQ 4.1, since we didn't have this problem with older versions. -- View this message in context: http://www.nabble.com/ActiveMQ-%3A-java.lang.OutOfMemoryError%3A-unable-to-create-new-native-thread-tf4099069s2354.html#a11658208 Sent from the ActiveMQ - User mailing list archive at Nabble.com.