Modify the Java heap size for both Windows and Linux installations, including the Windows and Linux services.
- Edit the jvm-memory.options file located in the <PA_HOME>/conf directory.
-
Specify overall heap size by modifying the
#Minimum heap size
and#Maximum heap size
parameters.- 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. - Modify
-
Specify young generation size by modifying the
#Minimum size for the Young Gen space
and#Maximum size for the Young Gen space
variables.- 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
.Info:Not advisable if selecting the G1 collector. For more information, see Garbage Collector Configuration.
- Modify
-
If you are running PingAccess as a Windows
service, run the generate-wrapper-jvm-options.bat file
located in the
<PA_HOME>/sbin/windows
directory.
This file applies the changes from the jvm-memory.options file to the wrapper-jvm-options.conf file, which is used by the Windows service.