From users-return-9778-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Tue Jul 03 11:28:53 2007 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 59134 invoked from network); 3 Jul 2007 11:28:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jul 2007 11:28:53 -0000 Received: (qmail 62532 invoked by uid 500); 3 Jul 2007 11:28:55 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 62502 invoked by uid 500); 3 Jul 2007 11:28:54 -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 62490 invoked by uid 99); 3 Jul 2007 11:28:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 04:28:54 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of james.strachan@gmail.com designates 66.249.82.234 as permitted sender) Received: from [66.249.82.234] (HELO wx-out-0506.google.com) (66.249.82.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2007 04:28:50 -0700 Received: by wx-out-0506.google.com with SMTP id i30so1810745wxd for ; Tue, 03 Jul 2007 04:28:30 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NxqhOCwVPw5uUk41jHigx/xQcStjiBtJMYcEbcmLwj+xHTIlHi34VJIIPXw2vqb9S8hgHkiGphiLleRdFd7LztvvrUTd68ZW4xFikgMhagNaIYReLuqDUdU97Aq2WER7AjlZMPcBXUV3sp7S8N+045vA6uox6MHzYyiLxMl1Mto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SW7R5ytNP93AhtTNw4seEXsmj7JVIz3GOZIVlpemc3C582o9NJ3AT6vKdB+uTOoU1P1Dj9vwH4aaL8FtfsaM+IDKZPNXEjqDl8PSLq7SqSKeuBwPRLI3CTyA00R5KNncHV2GV2y4rEWJjcZVpElnrZCMjXSGozgXY7hlxvlnmpc= Received: by 10.90.81.14 with SMTP id e14mr5894387agb.1183462110107; Tue, 03 Jul 2007 04:28:30 -0700 (PDT) Received: by 10.90.63.14 with HTTP; Tue, 3 Jul 2007 04:28:30 -0700 (PDT) Message-ID: Date: Tue, 3 Jul 2007 12:28:30 +0100 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Urgent - please help In-Reply-To: <11410110.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <11410110.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 7/3/07, yunusbayraktar wrote: > > Hi James, > > We have a list of clients and for each client we create a separate > queue(some of them are persistent, some of them are not) dynamically. The > number of clients can be up to 750. We preferred this way because we assumed > that this may be faster than a single queue with Message Selector pattern. > > We are satisfied with the process time but the memory consumption is > constantly increasing even though we use TTL(=5 sec) for our messages when > there is no consumer. As soon as the consumers are at work the memory > consumtion starts to fall down. We concluded that if there is no consumer > for an expired message, it is not removed from the memory. If you want messages to be discarded for consumers that are not available, why not use temporary queues, since they do exactly that (delete all messages when a consumer goes away)? > I read that this > was one of the fixes in Snaphot-5.0. So you could try 5.x? -- James ------- http://macstrac.blogspot.com/