Re: How to gauge memory of a running java application

From: Timur Akhmadeev <timur.akhmadeev_at_gmail.com>
Date: Thu, 17 Dec 2015 23:05:03 +0300
Message-ID: <CACGsLCK6nta_V-KBUGwUmdM1qp58AZZdQSvBPDucOog20Bkc_A_at_mail.gmail.com>



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> 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:05:03 CET

Original text of this message