0
My system is on a server that has several Tomcats, I need to disable the Tomcat that has more memory reserved for it.
How I see the memory reserved for each Tomcat on the server?
0
My system is on a server that has several Tomcats, I need to disable the Tomcat that has more memory reserved for it.
How I see the memory reserved for each Tomcat on the server?
0
The Memory Heap used by Tomcat is defined by the parameter jvm -Xmx.
Check if the environment variable exists
CATALINA_OPTS=-Xms64m -Xmx256m
Check if the above variable is used by the following script: Also check the parameter JAVA_OPTS -Xmx1024m in the scripts below
tomcat-install/bin/catalina.sh(.bat)
tomcat-install/bin/startup.sh(.bat)
A simpler way is to simply run the command, but only under linux
ps -ef | grep java
and search for the Tomcat instance by checking the parameters Xms and Xmx
Browser other questions tagged java server tomcat server-side
You are not signed in. Login or sign up in order to post.
This ps -Ef | grep java command I can run on the server CMD?
– Robinho Gomes
Yes as long as it’s linux
– Marquezani
Unfortunately it is windows, the company let install in this blessing.
– Robinho Gomes
I edited the answer, as it is windows you need to look at the files . bat of the installation to see the memory allocated to the server
– Marquezani