1
我試圖從eclipse中啓動一個android應用程序。如果我的eclipse.ini包含試圖從eclipse運行android應用程序:卡在「堆空間不足」和「無法創建jvm」之間卡住
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Xms512m
-Xmx512m
然後我得到「堆空間」。如果我在將Xm保持爲512時將Xmx增加到1024,則在啓動eclipse時會出現「無法創建jvm」。如果我將Xms設置爲1024,eclipse無法啓動,但沒有任何錯誤消息。
我能做些什麼才能使它起作用? Thx