Today added a tomcat project, restart tomcat found all the items can not be visited, checked the log and found out of memory, memory is too small tomcat is suspected of setting up, modifying catalina.sh in JAVA_OPTS = "$ JAVA_OPTS - server -Xms3550m -Xmx3550m -XX: PermSize = 1024M -XX: MaxNewSize = 1024m -XX: "after the memory increase MaxPermSize = 1024m restart tomcat to solve the problem
About tomcat memory overflow
Guess you like
Origin www.cnblogs.com/shenzhi/p/11852121.html
Recommended
Ranking