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