Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse keep closing suddenly

Tags:

eclipse

crash

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!

like image 818
user3579994 Avatar asked Mar 20 '23 15:03

user3579994


2 Answers

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!

like image 157
ksraj98 Avatar answered Mar 29 '23 13:03

ksraj98


open eclipse.ini or eclipse configuration file and add below command as first line

-clean

now save and try to open eclipse. this worked for me. Have a nice time.

like image 38
Mohit Basak Avatar answered Mar 29 '23 12:03

Mohit Basak