Remove Deprecated Garbage Collection Options in Java 11 or Later
Remove Deprecated Garbage Collection Options
in Java 11 or Later
Effective in version 10.5.7 and later, Informatica uses JDK version 11. In Java 11 and
subsequent versions, the ConcMarkSweepGC (CMS) and UseParNewGC garbage collectors from JDK
version 8 have been deprecated. To maintain compatibility and improve performance, you need
to migrate to the recommended garbage collector, G1GC.
Effective in version 10.5.7 and later, some services, such as the Scheduler Service and
the Data Integration Service might not start after upgrade due to the deprecated garbage
collection options.
To resolve this issue, navigate to the impacted service in the Administrator tool and
remove the following options from the advanced properties of the JVM Command Line
Options:
-XX:+UseConcMarkSweepGC
Enables the use of the CMS garbage collector for the old generation. CMS
is an alternative to the default garbage collector (G1), which also
focuses on meeting application latency requirements.
-XX:+UseParNewGC
Enables the use of parallel threads for collection in the young
generation.
Verify that G1GC option is enabled by default with the following option:
-XX:+UseG1GC
. If not, add the following G1GC option into the JVM
Command Line Options for the impacted service:
-XX:+UseG1GC
Enables the use of the garbage-first (G1) garbage collector. It’s a
server-style garbage collector targeted for multiprocessor machines with a
large amount of RAM. Prioritizes meeting GC pause time goals while
maintaining good throughput for applications with large heaps and low GC
latency requirements.
You can specify options, such as
-XX:MaxGCPauseMillis
and
-XX:InitiatingHeapOccupancyPercent
for tuning requirements.
Ensure that you recycle the service to apply the updated configuration in the
Administrator tool.