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.optionsfile located in the<PA_HOME>/confdirectory. -
Specify overall heap size by modifying the
#Minimum heap sizeand#Maximum heap sizeparameters.Choose from:
-
Modify
-Xms512mto change the#Minimum heap sizevalue. -
Modify
-Xmx512mto change the#Maximum heap sizevalue.
Specify units as
m, megabytes, org, gigabytes. -
-
Specify young generation size by modifying the
#Minimum size for the Young Gen spaceand#Maximum size for the Young Gen spacevariables.Choose from:
-
Modify
-XX:NewSize=256mto change the#Minimum size for the Young Gen spacevalue. -
Modify
-XX:MaxNewSize=256mto change the#Maximum size for the Young Gen spacevalue.
Set values to 50% of
#Minimum heap sizeand#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.batfile located in the<PA_HOME>/sbin/windowsdirectory.This file applies the changes from the
jvm-memory.optionsfile to thewrapper-jvm-options.conffile, which is used by the Windows service.