Tomcat设置JVM内存及开启远程调试

(1)设置JVM内存
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=128m

(2)启动TOMCAT和JBOSS的远程调试
set JAVA_OPTS=%JAVA_OPTS% -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=10000,server=y,suspend=n

你可能感兴趣的:(java,jvm,tomcat)