Thread dump is a snapshot of all the threads that were executing at a moment in time. It shows the stack trace of each thread Continue reading “How to capture Thread dump? – jstack, jvisualvm”
How to capture heap dump? – jmap, -XX:+HeapDumpOnOutOfMemoryError
Heap dump is a snapshot of the Java memory. It contains information about the Java objects and classes in the heap at the moment Continue reading “How to capture heap dump? – jmap, -XX:+HeapDumpOnOutOfMemoryError”