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 772B04E5C for ; Mon, 6 Jun 2011 14:38:53 +0000 (UTC) Received: (qmail 35942 invoked by uid 500); 6 Jun 2011 14:38:53 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 35900 invoked by uid 500); 6 Jun 2011 14:38:53 -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 35892 invoked by uid 99); 6 Jun 2011 14:38:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 14:38:53 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jun 2011 14:38:47 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QTawk-0008OR-E5 for users@activemq.apache.org; Mon, 06 Jun 2011 07:38:26 -0700 Date: Mon, 6 Jun 2011 07:38:26 -0700 (PDT) From: Aneesh To: users@activemq.apache.org Message-ID: <1307371106427-3577057.post@n4.nabble.com> Subject: Getting ActiveMQ Memory statistics MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Is there anyway in which i can get the current memory used by ActiveMQ from my java code? I am not telling about any apps (like Jconsole) which is used for profiling.. Just need to know the current memory used by broker, how much available like that. Is ActiveMQ exposing any APIs/classes for getting this memory data? Thanks Aneesh -- View this message in context: http://activemq.2283324.n4.nabble.com/Getting-ActiveMQ-Memory-statistics-tp3577057p3577057.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.