# Appropriate env for g1gc on Elastic Search

**URL:** https://discuss.elastic.co/t/appropriate-env-for-g1gc-on-elastic-search/235461
**Category:** Elasticsearch
**Created:** [June 3, 2020, 4:46am UTC](https://discuss.elastic.co/t/appropriate-env-for-g1gc-on-elastic-search/235461 "2020-06-03T04:46:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hschoi](https://avatars.discourse-cdn.com/v4/letter/h/f0a364/32.png) [@hschoi](https://discuss.elastic.co/u/hschoi)
#### Post date: [June 3, 2020, 4:46am UTC](https://discuss.elastic.co/t/appropriate-env-for-g1gc-on-elastic-search/235461/1 "2020-06-03T04:46:45Z")

</div>

Hello.

I'm using Elastic Search 6.8.5 and JVM dk8u252-b09.

I want to change Garbage Collector to G1GC from CMS.

So, must we upgrade version of elastic search?  
I think I need to upgrade jvm version 11.

And I want to know proper G1GC Configuration for jvm.property

Please note here any ideas.  
Thank you.

---

<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 1, 2020, 4:57am UTC](https://discuss.elastic.co/t/appropriate-env-for-g1gc-on-elastic-search/235461/2 "2020-07-01T04:57:00Z")

</div>

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