I know I can change bin/setenv.sh
, but is it possible to apply new settings without restarting Tomcat? Specifically can I extend maximum heap size (Xmx) somehow?
I know I can change bin/setenv.sh
, but is it possible to apply new settings without restarting Tomcat? Specifically can I extend maximum heap size (Xmx) somehow?
No. You cannot increase
Xmx
on the fly. What you can do is to increase the value ofXmx
in the config file and start another tomcat instance if your application don't mind that.