Eclipse - Failed to create the java virtual machine

eclipse, java

Solution

There are two place in eclipse.ini that includes

--launcher.XXMaxPermSize
256m

make it

--launcher.XXMaxPermSize
128m

Problem

I'm having issue with running my Eclipse with the following config: eclipse.ini ``` -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 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile --launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256M --launcher.defaultAction openFile -vm jdk1.7.0_02/bin -vmargs -Dosgi.requiredJavaVersion=1.6 -Xms256M -Xmx1024M # Adding this line, I get "Failed to create virtual machine" -XX:PermSize=512M -XX:MaxPermSize=512M -XX:+UseParallelOldGC -XX:ParallelGCThreads=2 -XX:ThreadPriorityPolicy=1 -Xverify:none -XX:-UseSplitVerifier ``` The above configuration works except when I add the lines I specified above. What could be the problem? I am running eclipse from a Windows 7 (64-bit) machine with 4GB ram, although the JDK I specified in the path is 32-bit which works just fine. The only problem is if I add those additional config parameters.

Original source

Related problems