Generating heap dumps with Oracle HotSpot JDK
Use the following flags for heap dump generation:
HeapDumpOnCtrlBreakHeapDumpOnOutOfMemoryError
For more information about analyzing heap dumps, refer to the following Oracle document:
- Troubleshooting Guide for Java SE 6 with HotSpotVM
