Modifying the Java heap size - PingAccess - 7.0

PingAccess

bundle
pingaccess-70
ft:publication_title
PingAccess
Product_Version_ce
PingAccess 7.0
category
Product
pa-70
pingaccess
ContentType_ce

Modify the Java heap size for both Windows and Linux installations, including their services.

  1. Open the jvm-memory.options file located in <PA_HOME>/conf.
  2. 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, or g, gigabytes.

  3. 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.

  4. If you are running PingAccess as a Windows service, run the generate-wrapper-jvm-options.bat file located in <PA_HOME>/sbin/windows.

    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.