You can either launch the program with --heapDump=file or use --heapDump=download and download a heapdump with this form.

The default name of the heapdump is a combination of the machine name, the date / time, and the process id. You can also specify a filename below.

Please note that you can not specify a directory, and that you will be prompted to re-enter the file name if you try! This is to prevent malicious mischief in writing to arbitrary places in the filesystem. The heap dump will be placed in one of the following locations, prioritized in the order below:

  1. The --heapDumpDir flag
  2. The $HEAP_DUMP_DIR environment variable
  3. The system property "google.heapDumpDir"
  4. The $GOOGLE_LOG_DIR environment variable
  5. The $TMPDIR environment variable
  6. The $TMP environment variable
  7. The directory /export/hda3/tmp/
Input your filename here:

When you click the link or submit the form, it may timeout. The heapdump has still been created and will be available on the server.