Re: How to gauge memory of a running java application

  • From: Timur Akhmadeev <timur.akhmadeev@xxxxxxxxx>
  • To: "Hameed, Amir" <Amir.Hameed@xxxxxxxxx>
  • Date: Fri, 18 Dec 2015 00:00:11 +0300

That's not easy if there are many apps running on the same node.
Try running this on a dedicated node and see what's going on there.

On Thursday, 17 December 2015, Hameed, Amir <Amir.Hameed@xxxxxxxxx> wrote:

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@xxxxxxxxx
<javascript:_e(%7B%7D,'cvml','timur.akhmadeev@xxxxxxxxx');>]
*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@xxxxxxxxx
<javascript:_e(%7B%7D,'cvml','Amir.Hameed@xxxxxxxxx');>> 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



--
Regards
Timur Akhmadeev

Other related posts: