Skip navigation

I had this problem recently:

JVM terminated. Exit code=-1
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256M
-Djava.class.path=C:\Program Files\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
-os win32
-ws win32
-arch x86
-showsplash C:\Program Files\eclipse\\plugins\org.eclipse.platform_3.3.100.v200806172000\splash.bmp
-launcher C:\Program Files\eclipse\eclipse.exe
-name Eclipse
–launcher.library C:\Program Files\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.100.v20080509-1800\eclipse_1114.dll
-startup C:\Program Files\eclipse\plugins\org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
-vm C:\Program Files\Java\jre1.6.0_06\bin\client\jvm.dll
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256M
-Djava.class.path=C:\Program Files\eclipse\plugins\org.ecipse.equinox.launcher_1.0.100.v20080509-1800.jar

here’s the fix

My laptop computer only has 512MB of ram available. I don’t have all that much disk space either. It seems that Eclipse wanted 512MB of xmx memory.. So i just opened C:\Program Files\eclipse\eclipse.ini and changed the amount of xmx to 256MB, which my system should be able to handle.

Advertisements

4 Comments

    • AXsY
    • Posted September 22, 2008 at 3:11 pm
    • Permalink

    Really, it works, so simple!… Thanks!

    • alex
    • Posted July 31, 2010 at 8:55 am
    • Permalink

    ok run well. :-)

    • Avinash
    • Posted August 9, 2010 at 3:48 pm
    • Permalink

    Thanks dude..It worked.

    • Mahe
    • Posted December 27, 2010 at 10:51 am
    • Permalink

    Thank you it worked fine


One Trackback/Pingback

  1. […] the vmargs parameters (also suggested by bobobobo) and in particular changing the maximum heap […]

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

%d bloggers like this: