# Java 11 GC parameters

**URL:** https://community.graylog.org/t/java-11-gc-parameters/16670
**Category:** Graylog Central (peer support)
**Created:** [August 5, 2020, 5:58am UTC](https://community.graylog.org/t/java-11-gc-parameters/16670 "2020-08-05T05:58:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jtkarvo](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jtkarvo](https://community.graylog.org/u/jtkarvo)
#### Post date: [August 5, 2020, 5:58am UTC](https://community.graylog.org/t/java-11-gc-parameters/16670/1 "2020-08-05T05:58:56Z")

</div>

hi,

I wonder if there are any recommended parameters for GC in Java 11? G1? And are the default parameters for that GC enough, or should they be tweaked? What about NewRatio?

I had previously CMS parameters, but as of Java 11, that is deprecated. For some reason, I could not find advice for this. UseParNewGC seems to produce errors for long GC intervals.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [August 19, 2020, 5:59am UTC](https://community.graylog.org/t/java-11-gc-parameters/16670/2 "2020-08-19T05:59:00Z")

</div>

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