Hello @didate,
Here are the steps:
- Login into the tomcat container.
- Find location /etc/default/tomcat9. Under this location you can find JAVA_OPT and change it as per your version.
- After changes you need to restart the containers.
Please confirm if issue is still there.
Thanks