From activemq-users-return-1928-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Mon Jun 12 15:53:02 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 82352 invoked from network); 12 Jun 2006 15:53:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jun 2006 15:53:02 -0000 Received: (qmail 43942 invoked by uid 500); 12 Jun 2006 15:53:01 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 43921 invoked by uid 500); 12 Jun 2006 15:53:01 -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 43912 invoked by uid 99); 12 Jun 2006 15:53:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 08:53:01 -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 (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2006 08:53:00 -0700 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FpoiV-0006xc-8b for activemq-users@geronimo.apache.org; Mon, 12 Jun 2006 08:52:39 -0700 Message-ID: <4831142.post@talk.nabble.com> Date: Mon, 12 Jun 2006 08:52:39 -0700 (PDT) From: skarthik To: activemq-users@geronimo.apache.org Subject: Re: 4.0 Consumer OutOfMemoryError bug? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: karthik.sethuraman@necam.com X-Nabble-From: skarthik References: <4636181.post@talk.nabble.com> <4645070.post@talk.nabble.com> <4647038.post@talk.nabble.com> <4650934.post@talk.nabble.com> <4652810.post@talk.nabble.com> <4669553.post@talk.nabble.com> <4733986.post@talk.nabble.com> <4761710.post@talk.nabble.com> <4798340.post@talk.nabble.com> <4822824.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks James, It looks like batch acknowledgement was the problem. Once omtimizeAcknowledgeis turned OFF, the consumer memory never grows beyond 1-2 MB which is what were expecting. We did NOT have to tune the prefetch size (which BTW we found out is 32000 by default). I don't know what is the algorithm used for determining when the grouped messages need to be acknowledged, but if in case you guys are going to revisit it, maybe it should take available heap size into consideration (just a suggestion). Thanks again for your time. karthik -- View this message in context: http://www.nabble.com/4.0-Consumer-OutOfMemoryError-bug--t1707655.html#a4831142 Sent from the ActiveMQ - User forum at Nabble.com.