Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 48861 invoked from network); 5 Oct 2007 06:04:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 06:04:42 -0000 Received: (qmail 95618 invoked by uid 500); 5 Oct 2007 06:04:31 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 95578 invoked by uid 500); 5 Oct 2007 06:04:30 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 95569 invoked by uid 99); 5 Oct 2007 06:04:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 23:04:30 -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 (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; Fri, 05 Oct 2007 06:04:32 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IdgIF-0001xw-OB for dev@activemq.apache.org; Thu, 04 Oct 2007 23:04:11 -0700 Message-ID: <13053965.post@talk.nabble.com> Date: Thu, 4 Oct 2007 23:04:11 -0700 (PDT) From: rajdavies To: dev@activemq.apache.org Subject: Re: Usage Manager for durable offline subscriber In-Reply-To: <371F17F1-4FA1-44DC-8E22-F6B3EFD123D4@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rajdavies@gmail.com References: <13051280.post@talk.nabble.com> <371F17F1-4FA1-44DC-8E22-F6B3EFD123D4@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org oops - that's the latest- must drink coffee before reading email ;) Any chance of a test case ? cheers, Rob rajdavies wrote: > > Hi Nicky, > > which version is that? > > > cheers, > > Rob > > http://rajdavies.blogspot.com/ > > > > On Oct 5, 2007, at 1:17 AM, Nicky Sandhu wrote: > >> >> On revision 581885 I turned on debug messages on Usage.java and the >> commented >> lines of System.out on Message.java and I see the memory usage >> increase >> beyond 100% to something like 16500%. This causes a problem for the >> next >> thing that calls Usage.waitForSpace(timeout) and causes an >> indefinite hang >> >> The Usage.increaseUsage(value) does not check to see if it's full >> and so can >> keep allocating even beyond 100%. This seems to be happening a lot >> from >> Message.incrementReferenceCount() with no corresponding >> Message.decrementReferenceCount() happening. >> >> In my case it happens when a publishing to a topic (~ 1000 msgs) >> with a >> offline durable subscribe with multiple hard disconnects from the >> subscriber. >> -- >> View this message in context: http://www.nabble.com/Usage-Manager- >> for-durable-offline-subscriber-tf4572289s2354.html#a13051280 >> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >> > > > -- View this message in context: http://www.nabble.com/Usage-Manager-for-durable-offline-subscriber-tf4572289s2354.html#a13053965 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.