| 123456789101112131415 | [[heap-dump-path]]=== JVM heap dump pathBy default, Elasticsearch configures the JVM to dump the heap on out ofmemory exceptions to the default data directory (this is`/var/lib/elasticsearch` for the <<rpm,RPM>> and <<deb,Debian>> packagedistributions, and the `data` directory under the root of theElasticsearch installation for the <<zip-targz,tar and zip>> archivedistributions). If this path is not suitable for receiving heap dumps,you should modify the entry `-XX:HeapDumpPath=...` in<<jvm-options,`jvm.options`>>. If you specify a directory, the JVMwill generate a filename for the heap dump based on the PID of the runninginstance. If you specify a fixed filename instead of a directory, the file mustnot exist when the JVM needs to perform a heap dump on an out of memoryexception, otherwise the heap dump will fail.
 |