Tomcat memory solution solution

xiaoxiao2021-03-06  46

Modify /opt/jakarta-tomcat-5.0.16/bin/catalina.sh Add to Catalina_OPTS = "- Server -XMS800M -XMX800M" (need to restart Tomcat) in front of the file

Verify that the parameters are effective

When using PS, the process of Tomcat has the following similar parameters, that is, the parameter setting has taken effect: /usr/java/j2sdk1.4.1_02/bin/java -server -XMS800M -XMX800M

转载请注明原文地址:https://www.9cbs.com/read-54149.html

New Post(0)