heap-dump-path.asciidoc 852 B

123456789101112131415
  1. [[heap-dump-path]]
  2. === JVM heap dump path
  3. By default, Elasticsearch configures the JVM to dump the heap on out of
  4. memory exceptions to the default data directory (this is
  5. `/var/lib/elasticsearch` for the <<rpm,RPM>> and <<deb,Debian>> package
  6. distributions, and the `data` directory under the root of the
  7. Elasticsearch installation for the <<targz,tar>> and <<zip-windows,zip>> archive
  8. distributions). If this path is not suitable for receiving heap dumps,
  9. you should modify the entry `-XX:HeapDumpPath=...` in
  10. <<jvm-options,`jvm.options`>>. If you specify a directory, the JVM
  11. will generate a filename for the heap dump based on the PID of the running
  12. instance. If you specify a fixed filename instead of a directory, the file must
  13. not exist when the JVM needs to perform a heap dump on an out of memory
  14. exception, otherwise the heap dump will fail.