标签:lin max eclips bin ips config tomcat bat vivo
方法1.在eclipse中双击点开tomcat,在 Open launch configuration 中的 Arguments中加入:
-XX:PermSize=256M
-XX:MaxPermSize=512m
-Xms2024m
-Xmx2024m
-Xmn1300m
方法2:在tomcat\bin\catalina.bat中加入:
set "JAVA_OPTS=-Xmx3072M -Xms3072M -Xmn2300m -XX:SurvivorRatio=8 -XX:+UseG1GC -XX:+UseStringDeduplication"
标签:lin max eclips bin ips config tomcat bat vivo
原文地址:http://www.cnblogs.com/Oilofgrapefruit/p/7297941.html