Heap dumps provide information about the contents of JVM Heap. They are very helpful to know which object are occupying memory and the their links to the root objects. Let’s see different options to take Heap dumps Using command line option on OOME This has been discussed in detail here Using jmap jmap is a […]
visualvm
How to take Thread dumps of a Java process
Thread dumps provide a lot of valuable information about a running java process. Let’s see how to take Thread dumps of a running Java process. Solution 1: Using kill -3 If you are running *nix system, find the process id of running java, either by using jps command or by using ps -aef | grep […]