Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 99508 invoked from network); 19 Jun 2007 14:26:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2007 14:26:25 -0000 Received: (qmail 43474 invoked by uid 500); 19 Jun 2007 14:26:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 43453 invoked by uid 500); 19 Jun 2007 14:26:28 -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 43444 invoked by uid 99); 19 Jun 2007 14:26:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jun 2007 07:26:28 -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, 19 Jun 2007 07:26:23 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I0eeh-0006Xm-81 for users@activemq.apache.org; Tue, 19 Jun 2007 07:26:03 -0700 Message-ID: <11195906.post@talk.nabble.com> Date: Tue, 19 Jun 2007 07:26:03 -0700 (PDT) From: Jim_Cross To: users@activemq.apache.org Subject: Server side memory leak on connection with NMS MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jimcross1981@googlemail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, Further to my earlier message, I realised I'd left out two vital bits of information: 1. I'm using NMS 2. Part of my test app is to have a consumer disconnect fully (close and dispose consumer, session, and connection) then reconnect A bit more investigation has revealed that if I don't start the consumer side, but do hit the server with loads of messages, memory use stays stable, under 15mb. However, if I just start the consumer side, memory use increases over time. I'm fairly sure the connections are being closed properly, as the consumer count seen in JConsole always shows the correct number. Does anyone know why this happens? I've seen some messages mentioning mixing ActiveMQ versions can cause memory leaks. Could this be the cause? I'm using NMS with ActiveMQ 4.1.1. Any help much appreciated. Jim -- View this message in context: http://www.nabble.com/Server-side-memory-leak-on-connection-with-NMS-tf3946774s2354.html#a11195906 Sent from the ActiveMQ - User mailing list archive at Nabble.com.