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

前端 未结 7 1519
粉色の甜心
粉色の甜心 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:47

    To turn on an option your need + and to turn off an option you need -

    What is confusing about the documentation is that it shows the default setting to make it "clear" what setting you have already. The ones with + are on by default and the ones with - are off by default. This means if you copy any of the + or - options from the documentation they should do nothing (except where the default has changed over time)

    -XX:-HeapDumpOnOutOfMemoryError turns off the heap dump, which is the default.

    -XX:+HeapDumpOnOutOfMemoryError turns on the heap dump.

提交回复
热议问题