# Recommended ES Configuration for Large Memory Servers

**URL:** <https://discuss.elastic.co/t/recommended-es-configuration-for-large-memory-servers/205543>\
**Category:** Elasticsearch\
**Created:** [October 28, 2019, 8:14pm UTC](https://discuss.elastic.co/t/recommended-es-configuration-for-large-memory-servers/205543 "2019-10-28T20:14:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeff\_Kubina](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jeff\_Kubina](https://discuss.elastic.co/u/Jeff_Kubina)\
**Post date:** [October 28, 2019, 8:14pm UTC](https://discuss.elastic.co/t/recommended-es-configuration-for-large-memory-servers/205543/1 "2019-10-28T20:14:35Z")

</div>

We are planning to upgrade our Elasticsearch cluster to 7.X (JAVA 1.10). Is there any advice on the preferred method of garbage collection when using this particular combination, like CMS versus G1GC?

Our current hardware is 12 physical nodes running CentOS 7.6, 32 VCPU’s, and 256 GB of memory per node. We run three instances of ES per node since we max out each instances memory to 31GB per this [recommendation](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/heap-size.html). We control their resources via cgroups.

When moving to ES 7.x, we would like to move to larger instances of ES that utilize the G1GC. Maybe just one instance per node with 186GB of RAM it? Would this be a better way to go now that G1GC is an option? If not, what would be the recommended setup/configuration for such hardware?

---

<div class="post-metadata">

**Author:** ![Jeff\_Kubina](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@Jeff\_Kubina](https://discuss.elastic.co/u/Jeff_Kubina)\
**Post date:** [October 28, 2019, 8:59pm UTC](https://discuss.elastic.co/t/recommended-es-configuration-for-large-memory-servers/205543/2 "2019-10-28T20:59:41Z")

</div>

A related post is [Can I run multiple Elasticsearch nodes on the same machine?](https://discuss.elastic.co/t/can-i-run-multiple-elasticsearch-nodes-on-the-same-machine/67) but it may be someone outdated.

---

<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:** [November 25, 2019, 9:09pm UTC](https://discuss.elastic.co/t/recommended-es-configuration-for-large-memory-servers/205543/3 "2019-11-25T21:09:26Z")

</div>

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