I am working on a Java application. I have assigned Xms=3gb and Xmx =4gb. I want to check that how much memory is assigned to young generation and old generation and survivor space. I have not explicitly defined the -XX:NewRatio or -XX:NewSize. I am using jdk 1.6
Asked
Active
Viewed 103 times
3 Answers
0
Try JConsole:
The JConsole graphical user interface is a monitoring tool that complies to the Java Management Extensions (JMX) specification. JConsole uses the extensive instrumentation of the Java Virtual Machine (Java VM) to provide information about the performance and resource consumption of applications running on the Java platform.

Achintya Jha
- 12,735
- 2
- 27
- 39