2011-05-16 63 views
3

我正在研究一個非常大的項目,即使我增加了虛擬內存,在刷新項目時,Eclipse崩潰。錯誤是java堆空間錯誤Eclipse INI配置問題

這是當前設置:

-startup 
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar 
--launcher.library 
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 
-product 
org.eclipse.epp.package.jee.product 
--launcher.XXMaxPermSize 
512M 
-showsplash 
org.eclipse.platform 
--launcher.XXMaxPermSize 
512m 
-vmargs 
-Dosgi.requiredJavaVersion=1.5 
-Xms256m 
-Xmx512m 

如果我增加任何更多,Eclipse將不會啓動。

+0

請參閱[什麼是Eclipse的最佳JVM設置?](http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for-eclipse)。 – lschin 2011-05-16 05:33:57

回答

2

幾點意見:

儘管這些不是堆空間參數,但它們可能會影響Eclipse運行。

+0

它仍然崩潰:(該項目是~2GB的代碼崩潰時刷新 – GoodSp33d 2011-05-16 10:13:29

+0

@ kantu:是設置http://stackoverflow.com/questions/142357/what-are-the-best-jvm-settings-for -eclipse help here?你使用的是什麼版本的Eclipse?(v20090519看起來很老)有可能嘗試使用3.6.2和最新的JDK? – VonC 2011-05-16 10:26:10