The garbage collection log includes details related to each occurrence of garbage collection. For example, the log might record a timestamp and the change in heap memory.

Edit the following properties in the <PA_HOME>/bin/run.sh file on Linux systems or the <PA_HOME>\bin\run.bat file on Windows systems to configure garbage collection properties.
Property Description

GC_FILE="<filename>"

Specifies the location of the garbage collection log. Comment out this line to disable garbage collection logging.

GC_FILE_COUNT="<count>"

Specifies the number of garbage collection files to retain before rotating.

GC_FILE_SIZE="<size>"

Specifies the maximum size for garbage collection files.