eclipsecrash

Eclipse keep closing suddenly


Recently I have lots of problems with eclipse, it keeps on crashing, closing abruptly, don't work well at all.

It happens too much, like in every 10 -15 minutes.

The CPU and RAM are 50% free when this happens.

This is the eclipse.ini file:

    -startup
    plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize

    --launcher.defaultAction
    openFile
    -vmargs
    -Xms40m
    -Xmx512m

What is the problem ? It's really bothering!


Solution

  • add the line

    -XX:-UseCompressedOops
    

    to eclipse.ini

    but if you are using this windows 7 then rather add

     -XX:+UseCompressedOops
    

    Even try running ecipse as administrator. If this even works then try opening with java.exe instead of javaw.exe. I hope this will work!