Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 63809 invoked from network); 5 Apr 2011 09:12:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2011 09:12:06 -0000 Received: (qmail 45597 invoked by uid 500); 5 Apr 2011 09:12:05 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 45554 invoked by uid 500); 5 Apr 2011 09:11:57 -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 45536 invoked by uid 99); 5 Apr 2011 09:11:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 09:11:54 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [91.212.94.12] (HELO uksmtp.nds.com) (91.212.94.12) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 09:11:47 +0000 Received: from UKMA1.UK.NDS.COM ([172.20.126.31]) by ukhc1.UK.NDS.COM ([172.20.126.118]) with mapi; Tue, 5 Apr 2011 10:11:27 +0100 From: "Swindells, Thomas" To: "users@activemq.apache.org" Date: Tue, 5 Apr 2011 10:11:24 +0100 Subject: RE: ActiveMQ Memory Usage is going up when there is no activity Thread-Topic: ActiveMQ Memory Usage is going up when there is no activity Thread-Index: Acvy6WmliT6QpRJ7Ro6ZTLiqYu0qxwAhAI7Q Message-ID: References: <1301936231445-3426037.post@n4.nabble.com> In-Reply-To: <1301936231445-3426037.post@n4.nabble.com> Accept-Language: en-US, en-GB Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-GB Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I don't know about what active mq is increasing its memory but the GC behav= iour you are seeing for java is perfectly normal. Java performs multiple di= fferent types of garbage collection. Generally it only performs quick basic= GC cycles which purge out only easily detected objecst (the small sawtooth= s on the graph). Only when memory is getting overly full does it try more a= ggressive (and time consuming) GC cycles - or when you press the button on = console. In term of memory usage there are probably a whole load of temporary short = lived objects which may accumulate over time even if there aren't any messa= ges being sent, things such as log records (even if they aren't written to = disk), keep alive messages, other housekeeping operations could all accumul= ate a backlog of objects that the gc doesn't bother to spend much effort on= trying to tidy up until it needs to. What I don't get is why you think you need help, are you actually experienc= ing any actual problems? Thomas > -----Original Message----- > From: nnprasad [mailto:NNakarikanti@dwd.IN.gov] > Sent: 04 April 2011 17:57 > To: users@activemq.apache.org > Subject: ActiveMQ Memory Usage is going up when there is no activity > > http://activemq.2283324.n4.nabble.com/file/n3426037/ActiveMQMemory.jpg > http://activemq.2283324.n4.nabble.com/file/n3426037/AMQ-Heap-GC.jpg > http://activemq.2283324.n4.nabble.com/file/n3426037/AMQ-OutofMemory.jpg > http://activemq.2283324.n4.nabble.com/file/n3426037/AMQ-GC.ppt AMQ- > GC.ppt > http://activemq.2283324.n4.nabble.com/file/n3426037/activemq.xml > activemq.xml > > > > I could not understand Why ActiveMQ is consuming and increasing its > Memory > usage, when there is no activity on queues. > > It seems no GC thread running in ActiveMQ, because when ever I am > running > Perform GC in JConsole the graph drops down immediately. > > Please look into attachments, in ActiveMQMemory.JPG file please observe > the > vertical straight line of memory usage WHEN THERE IS NO ACTIVITY ON > QUEUES > i.e no producer or consumer are working, though there are some > persisted > messages were there. > > Environment: ActiveMQ 5.2.0 / Windows 2003 server / Oracle 10g / TCP > openwire / JVM 512 MB. > > > Please look into attachment / Please Help Me. > > Thank You, > Nag. > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Memory-Usage-is-going- > up-when-there-is-no-activity-tp3426037p3426037.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. ***************************************************************************= *********** This message is confidential and intended only for the addressee. If you ha= ve received this message in error, please immediately notify the postmaster= @nds.com and delete it from your system as well as any copies. The content = of e-mails as well as traffic data may be monitored by NDS for employment a= nd security purposes. To protect the environment please do not print this e= -mail unless necessary. NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4= EX, United Kingdom. A company registered in England and Wales. Registered n= o. 3080780. VAT no. GB 603 8808 40-00 ***************************************************************************= ***********