Skip to main content

Allocating additional memory to Tomcat

To allocate additional memory to Tomcat:

  1. On the APP module host, open config file: /opt/derscanner/app/configs/backend.env

  2. Change Xmx4096M to Xmx8192M in the following line:

    CATALINA_OPTS="-Xms1024M -Xmx4096M"

    You should get: CATALINA_OPTS="-Xms1024M -Xmx8192M"

  3. Save changes and exit.

  4. Restart APP module service:

    sudo systemctl restart derscanner-app.service