문제

Yesterday, I try to start eclipse 3.4 by click eclipse.exe (in eclipse folder), and run normally. Then yesterday night, I do windows update. Today, when I try to run eclipse 3.4, it has error. The error message you can find at here SCREENSHOT

I use windows xp sp2, and java 1.5 update 14.

I don't know how to fix that, so I uninstalled my jdk1.5.14 then installed jdk1.5.21. The problem still exist. If I use bat file (eclipse.bat) with the content of the file is like below:

eclipse -vmargs -Xmx256M

it will run normally. But when I change into -Xmx512M or (>= 512M), it will display error like the screenshot.

The same problem is occurred when I start with eclipse 3.5. But when I start with eclipse 3.3, eclipse 3.3 is start normally (I think eclipse 3.3 is use memory lower than 3.4 above, <= 512M only, have tested, but forgot how much memory consumed by eclipse 3.3).

I am just guess the problem is from my windows. I really appreciate if anyone can help this problem.

도움이 되었습니까?

해결책

You could try with this eclipse.ini:
it does have a Xmx lower than 512 and still manage to run eclipse pretty fast (I would recommend using the latest JDK for this, though, even if you are using JDK5 for your programs)

Check also each lines of your eclipse.ini: they must not have any extra space.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top