# Elasticsearch memory requirements

**URL:** <https://discuss.elastic.co/t/elasticsearch-memory-requirements/112008>\
**Category:** Elasticsearch\
**Created:** [December 15, 2017, 3:40pm UTC](https://discuss.elastic.co/t/elasticsearch-memory-requirements/112008 "2017-12-15T15:40:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [December 15, 2017, 3:40pm UTC](https://discuss.elastic.co/t/elasticsearch-memory-requirements/112008/1 "2017-12-15T15:40:04Z")

</div>

My ~~ELK~~ Elastic Stack environment:

elasticsearch-6.X nodes role:

- 3 x master node
- 2 x data node
- 2 x ingest node - app
- 2 x none (coordinate only) - kibana

* * *

... for master and data node I'm using high memory instances ~54GB per instance.

How much memory should be allocated for ingest and/or coordinate only nodes?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 18, 2017, 11:53pm UTC](https://discuss.elastic.co/t/elasticsearch-memory-requirements/112008/2 "2017-12-18T23:53:33Z")

</div>

FYI we’ve renamed ELK to the Elastic Stack, otherwise Beats and APM feel left out! 😉

You don't need that much for masters, coordinating or ingest. Generally aim for;

- Masters - 4-6GB heap
- Coordinating - 8-16GB heap
- Ingest - 8-16GB heap

For each of these, assuming they are dedicated nodes types, you can exceed the standard 50% heap:off-heap rule as they don't need to worry about caching the underlying file structures. In these instances you can use 75% of total memory for heap.

---

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [December 19, 2017, 4:38am UTC](https://discuss.elastic.co/t/elasticsearch-memory-requirements/112008/3 "2017-12-19T04:38:52Z")

</div>

@warkolm I apologize, perhaps my message was a bit misleading... let me try again)

Elasticsearch (master and data) node runs respectively on it's own dedicated VM w/ ~54GB of memory, I allocate 32766mb for each node and now I'm trying to comprehend how much memory "coordinating only" node would requires especially considering Kibana would run on same VM as well, same goes for ingest node as well; memory requirements (obviously no Kibana).

---

<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:** [January 16, 2018, 4:39am UTC](https://discuss.elastic.co/t/elasticsearch-memory-requirements/112008/4 "2018-01-16T04:39:20Z")

</div>

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