The purpose of this KB Article is to discuss and describe the differences you may see in Gateway Appliance Memory consumption as it relates to Garbage Collection method differences between various Gateway versions.
Key Points:
Gateway 10.x. 11.x
There are two main Garbage Collection Methods that can be used on the Gateway Appliance
Gateway 9.x used the Parallel Garbage Collector (ParallelOldGC) by default and as such the memory consumption behavior of the Gateway was relatively low and would ramp up and down as necessary.
With the release of Gateway 10.0 the default Garbage Collection method was changed to Garbage First (G1) Garbage Collector (G1GC)
Customers may find that their Gateway process memory consumption on Gateway 10.0 with the G1GC Garbage Collection method is much higher than what was seen on the Gateway 9.x with the older Parallel method.
This is not a cause for concern as the G1GC allocated more Java memory Heap up front for better performance.
However customers are free to choose an configure the Garbage collection method of their choosing to meet their Gateway usage requirements
Changing between Garbage Collections can be done from the following area of the Gateway documentation:
Garbage Collection Settings
Here are some additional links to learn more about Java Collection Methods:
Types of Garbage Collector in Java
https://opensource.com/article/22/7/garbage-collection-java
Garbage-First Garbage Collector (G1GC)
https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/g1_gc.html
The Parallel Collector
https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/parallel.html