Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 82801 invoked from network); 4 Oct 2006 06:29:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 06:29:51 -0000 Received: (qmail 53004 invoked by uid 500); 4 Oct 2006 06:29:50 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 52990 invoked by uid 500); 4 Oct 2006 06:29:50 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 52981 invoked by uid 99); 4 Oct 2006 06:29:50 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 23:29:50 -0700 X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=FORGED_HOTMAIL_RCVD2 Received: from [72.21.53.35] ([72.21.53.35:49429] helo=talk.nabble.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 85/DE-00170-CD453254 for ; Tue, 03 Oct 2006 23:29:48 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GV0G9-0007n1-Ti for activemq-users@geronimo.apache.org; Tue, 03 Oct 2006 23:29:37 -0700 Message-ID: <6634473.post@talk.nabble.com> Date: Tue, 3 Oct 2006 23:29:37 -0700 (PDT) From: HU To: activemq-users@geronimo.apache.org Subject: Re: Broker used up the memory In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gong_pu@hotmail.com References: <6444443.post@talk.nabble.com> <6482630.post@talk.nabble.com> <6523894.post@talk.nabble.com> <6524501.post@talk.nabble.com> <6539530.post@talk.nabble.com> <6559766.post@talk.nabble.com> <6562172.post@talk.nabble.com> <6576306.post@talk.nabble.com> <6598182.post@talk.nabble.com> <6617931.post@talk.nabble.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >>Do you know which type is keeping hold of the references to the >>TransactionID? I found an "org.apache.activemq.command.LocalTransactionId" was retained after received one message used by session with transaction by YourKit profile tool. >> Are you creating 2 sessions for the entire >>duration of the program or creating lots of them? Its definitely the >>consumer which is running out of RAM right? Yes, I am just using one session for receiving message and use other one session for sending respond, there is no any more sessions else in my test codes. The session of receiving is with transaction. After I changed the session to without transaction, the memory leak(OutOfMemory error) was disappear on my test. -- View this message in context: http://www.nabble.com/Broker-used-up-the-memory-tf2316972.html#a6634473 Sent from the ActiveMQ - User mailing list archive at Nabble.com.