Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JVM Option

Recommended Value

Description

-Xms<size>

256m

Minimum amount of heap space initially allocated to the JVM

-Xmx<size>

2g (or more)

Maximum amount of heap space available to the JVM

-XX:MaxPermSize=<size>

128m

Maximum amount of memory allocated for permanent generation

Note
titleMemory requirements for Shib IdP V2
As of September 17, 2015, the Shibboleth Project recommends at least 1024M of heap for deployments consuming large (>25M) metadata files. See, for example, the topic on preparing Apache Tomcat for Shibboleth IdP V2.

Garbage Collection

Explicit garbage collection should always be disabled.

...