Page created: 26 Jul 2021
|
Page updated: 14 Jan 2022
The following table provides guidance for configuring the garbage collector.
Selecting the appropriate garbage collector depends on the size of the heap and available CPU resources. The following is a table of available collectors and some general guidance on when and how to use them.
Specify the garbage collector using the jvm-memory.options
file
located in <PA_HOME>/conf
. Modify the
parameter beneath #Use the parallel garbage collector
using the
information provided below.
Garbage Collector | Description | Modifications |
---|---|---|
Parallel |
|
Default collector for server Java virtual machine (JVM). No modification is required. |
Concurrent Mark Sweep (CMS) |
|
Set to
‑XX:+UseConcMarkSweepGC in
jvm-memory.options . |
Garbage First (G1) |
|
Set to
‑XX:+UseG1GC in
jvm-memory.options . Also disable
#Minimum size for the Young Gen space and
#Maximum size for the Young Gen space tuning.
Explicit sizing adversely affects pause time goal. To disable,
comment the lines out in the script. |