On Tue, May 12, 2020, 13:48 calder <calder....@gmail.com> wrote: > > [ snip ] >
Does their Tomcat use Systemd? > If yes, then look for the Systemd unit file - default should be > /etc/systemd/system/tomcat.service > .... that's where they will add an entry like (or modify the existing) > [ ... ] > Environment='CATALINA_OPTS=-server -Xms2048m -Xmx2048m > -XX:PermSize=256m -XX:MaxPermSize=2048m' > [ ... ] My post may have been a bit misleading with my comment about setenv.sh and then the reference to Systemd. If using Systemd, setenv.sh will be ignored, hence the possible use of default JVM memory config, and thus OOME.