Categories
Performance Testing

How to find RAM utilization for specific JAVA process at run time

How to find RAM utilization for specific JAVA process at run time when application is running with huge load?

1) Open terminal in your Linux server.

2) Set your JAVA_Home.

3) type as jconsole and Enter

4) You can see a new window opening with jconsole, select the process that you want to profile and click on connect

jconsole

 

5) This will show show all details included Heap memory,Non heap memory,No. of loaded classes,No. of Live threads

what is the advantage of using jconsole?

If you want to see the summary of resource utilization in the production server at run time, this is the right tool to use as it will not create much performance overhead on the server . 

 

Leave a Reply

Your email address will not be published. Required fields are marked *