The amount of reserved memory should always be increased for both the airlock-mgt-tomcat
and airlock-mgt-agent
.
- Use
grep Xmx
to display the current memory settings: AND
- Start with doubling the memory value in both files. In this example, we increase the reserved memory to
2G
in both properties files: - /opt/airlock/custom-settings/mgt-tomcat/java-options.properties
- /opt/airlock/custom-settings/mgt-agent/java-options.properties
...
JAVA_OPTS="${JAVA_OPTS} -Xmx2G"
...
- Restart the services:
AND
- Proceed to double the amount of reserved memory until the
java.lang.OutOfMemoryError
vanishes. As experience has shown, airlock-mgt-tomcat
may require about 4 times more reserved memory than airlock-mgt-agent
. Keep in mind that increasing the heap space for the Configuration Center Tomcat and the Airlock management agent will reduce the free memory that can be used by the Security Gate process.