# Error in heap.dump.path

**URL:** https://discuss.elastic.co/t/error-in-heap-dump-path/172727
**Category:** Elasticsearch
**Created:** [March 18, 2019, 8:39am UTC](https://discuss.elastic.co/t/error-in-heap-dump-path/172727 "2019-03-18T08:39:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Pradana](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@Pradana](https://discuss.elastic.co/u/Pradana)
#### Post date: [March 18, 2019, 8:39am UTC](https://discuss.elastic.co/t/error-in-heap-dump-path/172727/1 "2019-03-18T08:39:16Z")

</div>

Hi,

I am try to start the elasticsearch service but got error in elasticsearch.log like below :

Mar 18 15:28:44 localhost.localdomain elasticsearch[28230]: [1]: encountered improperly formatted JVM option line [{heap.dump.path}] on line number [99] Mar 18 15:28:44 localhost.localdomain elasticsearch[28230]: [2]: encountered improperly formatted JVM option line [{error.file}] on line number [102]

when i look in jvm.options file, it looks like below 🙂

# specify an alternative path for heap dumps; ensure the directory exists and

```
 98 # has sufficient space
 99 ${heap.dump.path}
100
101 # specify an alternative path for JVM fatal error logs
102 ${error.file}

```

what should be there actually?

Regards

Pradana

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [March 20, 2019, 8:39am UTC](https://discuss.elastic.co/t/error-in-heap-dump-path/172727/2 "2019-03-20T08:39:38Z")

</div>

Which Elasticsearch distribution did you download? What version is this? What is the path of that jvm.options file? Can you provide the full link?

Thanks!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [April 17, 2019, 8:39am UTC](https://discuss.elastic.co/t/error-in-heap-dump-path/172727/3 "2019-04-17T08:39:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
