RE: How to gauge memory of a running java application

From: Hameed, Amir <Amir.Hameed_at_xerox.com>
Date: Thu, 17 Dec 2015 20:10:51 +0000
Message-ID: <AF02C941134B1A4AB5F61A726D08DCED1FF7A3ED_at_USA7109MB012.na.xerox.net>



Thanks.
We have an out-of-the-box Oracle application, called PlannerUI, which is part of the Advanced Supply Chain family, deployed in a WebLogic cluster. There are other applications sharing the same JVM with that application. I want to find out how much memory the PlannerUI application uses to see its memory usage trend.

From: Timur Akhmadeev [mailto:timur.akhmadeev_at_gmail.com] Sent: Thursday, December 17, 2015 3:05 PM To: Hameed, Amir
Cc: oracle-l
Subject: Re: How to gauge memory of a running java application

Depends on what exactly would you like to see. At a bare minimum you can get rates of garbage generation in the heap per JVM with GC logging: http://blog.ragozin.info/2011/09/hotspot-jvm-garbage-collection-options.html Easiest run-time GUI option is to run jvisualvm/jconsole: http://docs.oracle.com/javase/6/docs/technotes/tools/share/jvisualvm.html Or if you prefer command line data then jstat -gcutil PID msec count https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jstat.html On the OS side common things like pmap or /proc/PID/smaps apply.

On Thu, Dec 17, 2015 at 10:25 PM, Hameed, Amir <Amir.Hameed_at_xerox.com<mailto:Amir.Hameed_at_xerox.com>> wrote: Folks,
Even though this is not an Oracle DB related question but because there are a lot of smart and knowledgeable folks that are part of this DL, therefore, I am posting it here. Is there a tool or utility availably to measure/monitor the memory consumption of a specific java application that is deployed in a JVM. The java version is 1.7.x and the application is deployed on WebLogic 10.3.6

Thanks,
Amir

--

Regards
Timur Akhmadeev
--

http://www.freelists.org/webpage/oracle-l Received on Thu Dec 17 2015 - 21:10:51 CET

Original text of this message