啓動tomcat報錯:Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"(溢出內存錯誤)
原因:新啓用的tomcat沒有設置內存
myeclipse中設置tomcat內存:-Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M
啓動tomcat報錯:Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"(溢出內存錯誤)
原因:新啓用的tomcat沒有設置內存
myeclipse中設置tomcat內存:-Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M