The JVM uses the memory size adjustment in Tomcat applications.

xiaoxiao2021-03-06  44

Modify Tomcat startup file,

Catalina.sh files in all "$ _Runjava" $ java_opts $ CATALINA_OPTS / backpapers with -XMS128M -XMX256M /

Method Two:

Linux modification / etc / profile is later

Java_opts = "- XMS256M -XMX256M"

Export java_opts

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

New Post(0)