java菜鳥篇<二> eclipse啟動tomcat報錯的問題:Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"


9.1今天不知道自己瞎搞eclipse的時候按到了什么鍵,然后再啟動程序的時候就會報錯:

如下:

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

解決方案:

然后就發現自己原來設置擴大堆內存的沒有了,要重新設置

如圖:

重新啟動項目,OK解決了!!哈哈哈

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM