Java G1GC setting of Ignition 8.0.4 Nightly


I saw in a below thread, it seems that the G1GC is manually configured for Ignition 7.7.2

I use Ignition 8.0.4 Nightly, the default setting of ignition.conf doesn’t contain G1GC setting as shown in below snapshot.
So shall we set it manually to enable the G1GC in version 8.0.4 Nightly?

Starting with 8.0.0, the gateway installation is bundled with Java 11, which uses G1GC by default - no additional parameter needed.

1 Like

Thanks for your info

We have installs that were upgraded from 7.9 to 8.0 to 8.1 and it shows that it is using ParNew, does the ignition.conf file changes still apply to get it to use G1GC?

What does your ignition.conf additional parameters section look like now?

G1 should not need to be explicitly enabled in the versions of Java we ship with 8.x.

See below:

Java Additional Parameters,server=y,suspend=n,address=8000

Comment out everything except lines parameters 3 and 5 and restart the gateway.

You’re explicitly opting in to the ‘older’ GC. Remove or comment out this line.

I commented out and it is now using G1GC, is it a good idea to comment out as well?

4 is not necessary, it’s a leftover artifact from many many versions ago.

Ok, thanks for the help!