Eclipse Failed to create the Java Virtual Machine

  • Eclips:eclipse-jee-helios-SR1-win32
  • Java: jdk-6u16-windows-i586
  • OS: Windows XP sp3

The problem of my machine is the memory is not big enough. I have 3G memory (Still not big enough?!)

Modify the “eclipse.ini” file under the directory where your just zip out the eclipse. Change:

  • –launcher.XXMaxPermSize from 256M to 128M or other proper size
  • –launcher.XXMaxPermSize from 256m to 128m or other proper size
Advertisements

One thought on “Eclipse Failed to create the Java Virtual Machine

  1. Excellent…after trying lot of other options (adding vm argument to point to JRE, removing first launcher.XXMaxPermSize default value which was 256M, changing Xmx value, etc in eclipse.ini), this finally helped resolving the Eclipse Helios startup issue. I am not sure why this parameter value needs to be changed and may need some further research. Thank you for posting this.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s