Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B88C3103CE for ; Thu, 18 Apr 2013 16:19:50 +0000 (UTC) Received: (qmail 69338 invoked by uid 500); 18 Apr 2013 16:19:50 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 69203 invoked by uid 500); 18 Apr 2013 16:19:49 -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 69171 invoked by uid 99); 18 Apr 2013 16:19:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 16:19:48 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.215.46 as permitted sender) Received: from [209.85.215.46] (HELO mail-la0-f46.google.com) (209.85.215.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 16:19:44 +0000 Received: by mail-la0-f46.google.com with SMTP id ej20so523836lab.5 for ; Thu, 18 Apr 2013 09:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=fKddHDQUsH4IhuOCXZ42xoKwlpX296JCppjbWVjbI+0=; b=jJAjxE+TkAwqAeE3JPahM1gdYC5i52K9ZuZg9uJnTWqLBiaj7BtQWyjepk3eXSPElS ceZx/ilORfjbeaMfe60XK6KttztrRmPhVEOGTJ7CKVhjEN/wi0585VFoKAeilLVzOhfG GeZmDySNo0+sJ6LvX0PW9Ypv4tdV2Q35evGsJOuSdYZMun0MGl6rYjaP2W9JMyhHkyLW SGP0mF1o+ey6sKaDNSI4xn2CMele9LvE4e7HFT3ZX2K9OywRoTDVtPtLzmnJlwHPqBiS BaMl+P0rO55NE7dRzvjfd268V1SAwoimpNv7iJQu8f3I26RJhk2LqrWwnDZqw73oytN4 hBDg== MIME-Version: 1.0 X-Received: by 10.152.4.40 with SMTP id h8mr5733613lah.34.1366301963069; Thu, 18 Apr 2013 09:19:23 -0700 (PDT) Received: by 10.114.96.194 with HTTP; Thu, 18 Apr 2013 09:19:22 -0700 (PDT) In-Reply-To: <1366300353663-4666024.post@n4.nabble.com> References: <1366300353663-4666024.post@n4.nabble.com> Date: Thu, 18 Apr 2013 09:19:22 -0700 Message-ID: Subject: Re: Question about listeners performance From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e013d1d922a2cce04daa4f757 X-Virus-Checked: Checked by ClamAV on apache.org --089e013d1d922a2cce04daa4f757 Content-Type: text/plain; charset=ISO-8859-1 For any reasonable level of help, you'll need to post your entire config for the broker, producer/consumer settings (how are you running the load test), JVM settings, hardware, OS, shared disk/local disk specs, command line, etc, etc. On Thu, Apr 18, 2013 at 8:52 AM, mvilleta wrote: > Good Afternoon, > > I'm a new user of JMS technology and particularly with ActiveMQ solution. > I'm having some problems with the performance of my application. > Specifically, i'm developing a 24x7 application. We are using > MessageListener for all consumers. > > Doing performance and continuity tests I detected memory leaks in certain > ActiveMQ classes. After passing a profiler tool, I saw a large amount of > ObjectMessage and Message instances. Trying to improve my performance > problems, I decided to use "clearBody" and "clearProperties" methods, and I > after passing again the profiler tool, I noticed, that the memory leak > grows > slower. Does it have any sense?. > > We are not closing the session and the conexion instances because we reuse > them all the time. > > Thank you in advance, > > Regards > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Question-about-listeners-performance-tp4666024.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e013d1d922a2cce04daa4f757--