# Whether to use G1GC or not for 30GB heap?

**URL:** <https://discuss.elastic.co/t/whether-to-use-g1gc-or-not-for-30gb-heap/38154>\
**Category:** Elasticsearch\
**Created:** [December 30, 2015, 6:42am UTC](https://discuss.elastic.co/t/whether-to-use-g1gc-or-not-for-30gb-heap/38154 "2015-12-30T06:42:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![soodlikesjava](https://avatars.discourse-cdn.com/v4/letter/s/ee7513/32.png) [@soodlikesjava](https://discuss.elastic.co/u/soodlikesjava)\
**Post date:** [December 30, 2015, 6:42am UTC](https://discuss.elastic.co/t/whether-to-use-g1gc-or-not-for-30gb-heap/38154/1 "2015-12-30T06:42:04Z")

</div>

As per the article :

[https://www.elastic.co/guide/en/elasticsearch/guide/current/\_don\_8217\_t\_touch\_these\_settings.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/_don_8217_t_touch_these_settings.html)

It suggests not to switch to G1GC . please suggest if this still holds true or ES is suggesting now to use G1GC?

---

<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 30, 2015, 8:39am UTC](https://discuss.elastic.co/t/whether-to-use-g1gc-or-not-for-30gb-heap/38154/2 "2015-12-30T08:39:46Z")

</div>

The docs still say no, so there's your answer 😉

---

<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, 11:27pm UTC](https://discuss.elastic.co/t/whether-to-use-g1gc-or-not-for-30gb-heap/38154/3 "2017-07-05T23:27:52Z")

</div>


