Eclipse 报 “Exception in thread main java.lang.OutOfMemoryError: Java heap space ”错误的解决办法
生活随笔
收集整理的這篇文章主要介紹了
Eclipse 报 “Exception in thread main java.lang.OutOfMemoryError: Java heap space ”错误的解决办法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Eclipse 報 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”錯誤的解決辦法
1、打開Eclipse軟件,選擇菜單欄run,在二級菜單中選擇 Debug Configurations...? 項,如下圖所示。
?
?
2、在彈出的窗口中選擇 (x)=Arguments 選項卡,VM arguments 輸入框中輸入所需要的內存最大占用量,我這里輸入的是800兆。最后點擊Apply按鈕即可。
?
?
【附】MyEclipse的設置地址在run--->Open Run Dialog--->Arguments
總結
以上是生活随笔為你收集整理的Eclipse 报 “Exception in thread main java.lang.OutOfMemoryError: Java heap space ”错误的解决办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Eclipse 报 “Exception
- 下一篇: pydev eclipse插件安装