Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"

啓動tomcat報錯:Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"(溢出內存錯誤)

原因:新啓用的tomcat沒有設置內存

myeclipse中設置tomcat內存:-Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=256M

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章