ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Xms and Xmx values in JVMOptions.txt of Policy Server


Article ID: 238401


Updated On:





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




At first glance, 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



    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.