# Where to specify HEAP and other settings in 5.0.0-1

**URL:** <https://discuss.elastic.co/t/where-to-specify-heap-and-other-settings-in-5-0-0-1/64409>\
**Category:** Elasticsearch\
**Created:** [October 31, 2016, 7:58am UTC](https://discuss.elastic.co/t/where-to-specify-heap-and-other-settings-in-5-0-0-1/64409 "2016-10-31T07:58:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discuss.elastic.co/u/jules)\
**Post date:** [October 31, 2016, 7:58am UTC](https://discuss.elastic.co/t/where-to-specify-heap-and-other-settings-in-5-0-0-1/64409/1 "2016-10-31T07:58:42Z")

</div>

After upgrading to 5 on a systemd based environment it seems there are now 3 or 4 possible locations to define startup and configuration parameters. These being

/etc/sysconfig/elasticsearch (for heap, paths and various miscellany)  
/etc/elasticsearch/jvm.options (for heap)  
/etc/elasticsearch/elasticsearch.yml (ES config and paths)  
/usr/lib/systemd/system/elasticsearch.service (all of the above?)

This is CRAZY confusing, and should probably be normalised?

---

<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:** [July 5, 2017, 10:08pm UTC](https://discuss.elastic.co/t/where-to-specify-heap-and-other-settings-in-5-0-0-1/64409/2 "2017-07-05T22:08:25Z")

</div>

Closed on July 5, 2017, 10:08pm UTC


