用win/tomcat/bin/catalina.bat 加上下面的命令:set JAVA_OPTS=-Xms32m -Xmx256m 转载于:https://my.oschina.net/u/1991555/blog/368013