Common approaches for heap dump generation
In general, you can use the following options to generate a heap dump:
- Set specific flags to force the following behaviors:
- Heap dump generation if the heap is full and an out-of-memory condition occurs
- Heap dump generation if an application
CTRL-BREAKor SIGQUIT occurs
- Use tools to connect to a running JVM. Such tools provide the option to trigger a heap dump.
