Modifying the Java heap size
Modify the Java heap size for both Windows and Linux installations, including the Windows and Linux services.
Steps
-
Edit the
jvm-memory.options
file located in thePA_HOME/conf
directory. -
Specify overall heap size by modifying the
#Minimum heap size
and#Maximum heap size
parameters.Choose from:
-
Modify
-Xms512m
to change the#Minimum heap size
value. -
Modify
-Xmx512m
to change the#Maximum heap size
value.
Specify units as
m
, megabytes, org
, gigabytes. -
-
Specify young generation size by modifying the
#Minimum size for the Young Gen space
and#Maximum size for the Young Gen space
variables.Choose from:
-
Modify
-XX:NewSize=256m
to change the#Minimum size for the Young Gen space
value. -
Modify
-XX:MaxNewSize=256m
to change the#Maximum size for the Young Gen space
value.Set values to 50% of
#Minimum heap size
and#Maximum heap size
.
Not advisable if selecting the G1 collector. For more information, see Garbage Collector Configuration.
-
-
If you are running PingAccess as a Windows service, run the
generate-wrapper-jvm-options.bat
file located in thePA_HOME/sbin/windows
directory.This file applies the changes from the
jvm-memory.options
file to thewrapper-jvm-options.conf
file, which is used by the Windows service.