My machine has more than 3G free memory. But when I set Xmx and -XX:MaxPermSize to about 800M in eclipse.ini, I can't open eclipse, with an error "failed to create the Java Vitual Machine" . Anyone ever meet this problem?
Asked
Active
Viewed 118 times
0
-
And without the parameter it does work? – Jerodev Oct 03 '14 at 13:10
-
@Jerodev yes. When I set them to less than 800M. it works – Mobility Oct 03 '14 at 13:12
-
Do you have a 32-bit or a 64-bit operating system on your computer? – Jerodev Oct 03 '14 at 13:14
-
@Jerodev It's a 64-bit Win8, and 32-bit jdk1.7 – Mobility Oct 03 '14 at 13:16
-
You should try installing the 64-bit jdk version – Jerodev Oct 03 '14 at 13:44
-
What's the specific error you get? Possible duplicate of http://stackoverflow.com/questions/9303889/error-occurred-during-initialization-of-vm-could-not-reserve-enough-space-for – E-Riz Oct 03 '14 at 14:07
-
Can you add your eclipse.ini file? – Mind Peace Oct 03 '14 at 14:18
1 Answers
2
You are running the 32-bit version of Eclipse. Try to run the 64-bit one. You can find your version in eclipse.ini
: look for x86_64
string(usually on fourth line). The only x86
means you have 32-bit installation.
Also don't forget install 64-bit Java.

stinger
- 3,790
- 1
- 19
- 30