tomcat suddenly stuck, modify jvm memory

Modify the memory mode of tomcat:
modify the tomcat installation directory \bin\catalina.bat and add
JAVA_OPTS ='-
Xms512m -Xmx1024m' JAVA_OPTS="$JAVA_OPTS -server -XX: PermSize=64M -XX:MaxPermSize=256m" where JAVA_OPTS='-Xms512m -Xmx1024m' is to set the size of the memory used by Tomcat. -XX:PermSize=64M -XX:MaxPermSize=256m Specifies the class space (for loading classes) The memory size of the tomcat card owner is mostly an error in the configuration file //The final access directory is the name of the webroot of tomcat, and the release location can be set in myceclipse, etc.










Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327010931&siteId=291194637