What is difference between heap dump and thread dump?

What is difference between heap dump and thread dump?
Answer
5 Answers. A thread dump is a dump of the stacks of all live threads. … A heap dump is a dump of the state of the Java heap memory. Thus useful for analysing what use of memory an app is making at some point in time so handy in diagnosing some memory issues, and if done at intervals handy in diagnosing memory leaks.
 

Tìm kiếm

Back
Top