heap-dump-path.asciidoc 840 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 <<zip-targz,tar and 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 fixed filename instead
  11. of a directory, the JVM will repeatedly use the same file; this is one
  12. mechanism for preventing heap dumps from accumulating in the heap dump
  13. path. Alternatively, you can configure a scheduled task via your OS to
  14. remove heap dumps that are older than a configured age.