Why does the WEBGUI service restart automatically when high memory usage is observed?

When the Java process of the WEBGUI service uses more than the configured MEM_HIGH_MARK memory, it will automatically be restarted by Symphony to prevent high memory consumption on the PMC server.

As a best practice, MEM_HIGH_MARK should be set to greater than the Java maximum heap size. The default values are JAVA_OPTS= "-Xms512m -Xmx1024m" and MEM_HIGH_MARK=1536.

To increase the values of the Java memory settings, proceed as follows:

  1. Open the wsm.conf file.

    • Windows: %EGO_CONFDIR%\..\..\gui\conf\wsm.conf

    • Linux: $EGO_CONFDIR/../../gui/conf/wsm.conf

  2. Increase the value of the Java maximum heap size.

    For example:

    JAVA_OPTS= "-Xms512m -Xmx2048m"

  3. Increase the value of MEM_HIGH_MARK so that it is correspondingly higher than the Java maximum heap size.

    For example:

    MEM_HIGH_MARK=2560

  4. Save the wsm.conf file and restart the WEBGUI service.