Eclipse error when I debug project

I use Eclipse for long time .I never seen this error, But now I see every time that I debug project. Sometime it occur even I don't do anything.

Java was started but returned exit code=1 C:Windowssystem32javaw.exe -Xms40m -Xmx384m -XX:MaxPermSize=256m -jar E:Backup261010DownloadAndroid App Deveclipseplugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os win32 -ws win32 -arch x86_64 -showsplash -launcher E:Backup261010DownloadAndroid App Deveclipseeclipse.exe -name Eclipse --launcher.library E:Backup261010DownloadAndroid App Deveclipseplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502eclipse_1406.dll -startup E:Backup261010DownloadAndroid App Deveclipseplugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 838_5c -vm C:Windowssystem32javaw.exe -vmargs -Xms40m -Xmx384m -XX:MaxPermSize=256m -jar E:Backup261010DownloadAndroid App Deveclipseplugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar

What should I do

EDIT :

this is my eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms64m
-Xmx512m
-XX:-UseCompressedOops

It's also have the same problem


This requires a little bit of Google-fu. I found:

A similar Code Ranch question.

A similar Eclipse Community Forum question.

See if those links help you solve your problem.


It seems that, this issue is because of Java Heap Size. You need to increase your java heap size.

http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html


as per your error log

C:Windowssystem32javaw.exe -Xms40m -Xmx384m

your eclipse heap size is too low ....try to increa the same in eclipse.ini and then check.

链接地址: http://www.djcxy.com/p/29558.html

上一篇: 麻烦启动eclipse ganymede

下一篇: Eclipse错误,当我调试项目