Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 70498 invoked from network); 27 Mar 2008 15:05:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 15:05:46 -0000 Received: (qmail 78968 invoked by uid 500); 27 Mar 2008 15:05:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 78950 invoked by uid 500); 27 Mar 2008 15:05:43 -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 78941 invoked by uid 99); 27 Mar 2008 15:05:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 08:05:43 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Thu, 27 Mar 2008 15:05:03 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JetfF-00030Q-79 for users@activemq.apache.org; Thu, 27 Mar 2008 08:05:13 -0700 Message-ID: <16325857.post@talk.nabble.com> Date: Thu, 27 Mar 2008 08:05:13 -0700 (PDT) From: krv To: users@activemq.apache.org Subject: Re: Resources not getting deallocated after receiving messages In-Reply-To: <16323367.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: vivek.kubaji@onmobile.com References: <16302582.post@talk.nabble.com> <16302999.post@talk.nabble.com> <16323367.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Ok, I got the problem. The problem was at my sender/receiver components in Mule. Yeah, I was using Mule as a client to connect to ActiveMQ. For more information about this problem with mule go to : http://www.nabble.com/forum/ViewPost.jtp?post=13619403&framed=y http://www.nabble.com/forum/ViewPost.jtp?post=13619403&framed=y Dil wrote: > > > I have an asynchronous sender and receiver. After sending about 200k > messages I am getting 'OutOfMemory' > > are you closing all connection after you send from producer? > > > rby wrote: >> >> Hi, >> >> Same here, I have an obvious memory leak with activemq 5.1-snapshot. >> I hope someone will respond at least to one of these memory related >> questions. >> >> Regards, >> Ramzi >> >> >> krv wrote: >>> >>> Hi, >>> >>> Many posts have been posted regarding 'OutOfMemory' but I couldn't find >>> relevant information, hence posting in a new thread. >>> >>> I have an asynchronous sender and receiver. After sending about 200k >>> messages I am getting 'OutOfMemory'. After observing the profiler I >>> found out that the sessions created for the messages are not getting >>> closed. Also found out that instances of the following objects go on >>> increasing: >>> * [ ] >>> * java.util.concurrent.locks.ReentrantLock$NonfairSync >>> * java.util.concurrent.ConcurrentHashMap$Segment >>> >>> The number of instances for the above objects is about 3 times (each) >>> the number of messages i.e. about 9 objects for each message. 200k+ >>> objects (of each type) account upto around 50mb. >>> >>> Am I missing something in the sender/receiver? >>> >>> Any help is greatly appreciated. >>> >>> Regards, >>> Vivek >>> >> >> > > -- View this message in context: http://www.nabble.com/Resources-not-getting-deallocated-after-receiving-messages-tp16302582s2354p16325857.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.