Xms and Xmx values in JVMOptions.txt of Policy Server
search cancel

Xms and Xmx values in JVMOptions.txt of Policy Server

book

Article ID: 238401

calendar_today

Updated On: 03-11-2024

Products

SITEMINDER

Issue/Introduction

 

When running a Policy Server, is it recommended to increase the values
of -Xms and -Xmx from JVMOptions.txt ?

 

Resolution

 

The out of the box values should be kept as is, unless they are driving to specific issue which would require tuning.

Usually the symptoms are a lack of available memory for the jvm
reported by such a message (1) :

   java.lang.OutOfMemoryError: Java heap space

 

Additional Information

 

(1)
  

    What are the -Xms and -Xmx parameters when starting JVM?

      The Xms flag has no default value, and Xmx typically has a default
      value of 256 MB. A common use for these flags is when you encounter
      a java.lang.OutOfMemoryError.

    https://stackoverflow.com/questions/14763079/what-are-the-xms-and-xmx-parameters-when-starting-jvm