Allocating additional memory to Tomcat
To allocate additional memory to Tomcat:
-
On the APP module host, open config file: /opt/derscanner/app/configs/backend.env
-
Change Xmx4096M to Xmx8192M in the following line:
CATALINA_OPTS="-Xms1024M -Xmx4096M"
You should get:
CATALINA_OPTS="-Xms1024M -Xmx8192M"
-
Save changes and exit.
-
Restart APP module service:
sudo systemctl restart derscanner-app.service