Friday, 6 September 2019

See size of JVM memory per class/object

Run the command for the respective Java version
 
cd /path/to/java/jdk1.8.0_65/
./jmap -dump:format=b,file=/path/to/dump/tomcat_dump.bin PID
 
Open the dump file in VisualVM 

No comments:

Post a Comment