From users-return-12591-apmail-activemq-users-archive=activemq.apache.org@activemq.apache.org Thu Feb 07 08:25:40 2008 Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 5698 invoked from network); 7 Feb 2008 08:25:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2008 08:25:40 -0000 Received: (qmail 71935 invoked by uid 500); 7 Feb 2008 08:25:31 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 71910 invoked by uid 500); 7 Feb 2008 08:25:31 -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 71901 invoked by uid 99); 7 Feb 2008 08:25:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 00:25:31 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajdavies@gmail.com designates 209.85.146.183 as permitted sender) Received: from [209.85.146.183] (HELO wa-out-1112.google.com) (209.85.146.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2008 08:25:00 +0000 Received: by wa-out-1112.google.com with SMTP id k22so4015924waf.0 for ; Thu, 07 Feb 2008 00:25:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=1zWUVHAZPM5oIvkIWawNSS+cTCC/MjZhStMMCQczBR4=; b=N+czRdgOuA0x1EqrxDwYye7nPhH0M06/jKA3R+60oQFo5eT0hjG7rgnF1HsP8RO2PTrghRejgkw9kdoQ3PXmrSGSYMsYAm6WCU1Wy8aWqca2hF8l3SZRrjirkjPImsD+Nnad602DKSuucOOlo5NIb6ECvuob88V6QvU4hBZDSxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=Fhq7P4Z3Sr/hW1K28wnCTt2JCLmGAIYbqrb2JNjGYVi8uvy8JjkdM89p+Ekc7of4LAowu24gKErnYhnYRfqDvWjINquEuajJRp/6ZCXO7N/d/XLYQ5o5tz+5Wovqx1VShZvf5j8BqIV0wJXf+irojf/I/Ud4r7Bu/NV9bueMrwU= Received: by 10.115.92.2 with SMTP id u2mr5312804wal.139.1202372707871; Thu, 07 Feb 2008 00:25:07 -0800 (PST) Received: from ?192.168.1.244? ( [86.134.103.250]) by mx.google.com with ESMTPS id 32sm28377970nfu.7.2008.02.07.00.25.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Feb 2008 00:25:07 -0800 (PST) Message-Id: From: Rob Davies To: users@activemq.apache.org In-Reply-To: <15329147.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: OutOfMemoryError in ActiveMQ5.0 Date: Thu, 7 Feb 2008 08:25:04 +0000 References: <15329147.post@talk.nabble.com> X-Mailer: Apple Mail (2.915) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 7, 2008, at 8:17 AM, Tushar Tarkas wrote: > > Hi, > > I have a spring based solution using activemq. I recently i upgraded > activemq from 4.1 to 5.0. > > What I am observing is, ActiveMQ5.0 gives OutOfMemoryError at stress > test > condition described below. ActiveMQ4.1 whereas, did not fail at the > same > stress level. The configuration used by me is as following. > > Jar used: activemq-all-5.0.0.jar > Configuration File Used: > > > > > class > = > "org > .springframework.beans.factory.config.PropertyPlaceholderConfigurer"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > dataDirectory="${activemq.home}/activemq-data"/> > > > > > > discoveryUri="multicast://default"/> > > > > > > > percentUsageMinDelta="20"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Load Generated: > I have created 100 topics and there is 1 subscriber per topic. The > topic is > created at runtime and use all default configurations. There is > module which > publishes messages in loop to generate heavy message load. I am > publishing > 1000 messages/topic. The brokers mode is AUTO_ACKNOWLEDGE. > > Results: > In case of ActiveMQ5.0, I get OutOfMemoryError when 27000 messages are > published and consumed. The consumer is a do nothing consumer. > > > I have tried configuring broker for system usage but still there is no > change. > > Is there anything which I am missing or doing incorrectly. > > ~Tushar > -- > View this message in context: http://www.nabble.com/OutOfMemoryError-in-ActiveMQ5.0-tp15329147s2354p15329147.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > Try the latest 5.1 snasphot - there have been some problems resolved in this area. cheers, Rob http://open.iona.com/ -Enterprise Open Integration http://rajdavies.blogspot.com/