Eclipse 報 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”錯誤
Posted on 2011-09-15 09:21 鑫龍 閱讀(1235) 評論(0) 編輯 收藏 引用 所屬分類: Myeclipse若Eclipse 報 “Exception in thread "main" java.lang.OutOfMemoryError: Java heap space ”錯誤,我們可以通過一下方法進行處理:首先, 打開Eclipse軟件,選擇菜單欄run,在二級菜單中選擇 Debug Configurations,然后:在彈出的窗口中選擇(x)=arguments選項卡,VM arguments中輸入所需要的內存最大占用量,比如輸入-Xmx800m即可。