Is it possible to view threads from hprof dump / threads in heap dump

前端 未结 7 1541
粉色の甜心
粉色の甜心 2021-02-06 06:46

I have got a large (5GB) hprof dump, created by application when OutOfMemoryError occurred. (Using XX: HeapDumpOnOutOfMemoryError ).

Unfortunately there

7条回答
  •  梦谈多话
    2021-02-06 06:56

    You can kill -3 the process id to get a thread dump to standard out. This will not kill the java process so you can do it as many times as you want.

    as RC stated visualVM is a good tool which will give you Object counts by class type and all kinds of graphs and profiling tools.

提交回复
热议问题