Eclipse keep closing suddenly
Asked Answered
U

7

5

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!

Unsuccess answered 12/5, 2014 at 6:31 Comment(3)
Please refer this oneBaseball
this is not a solution ,but this is how i used to avoid such scenarios. Take a back up of your projects from the work space.Download a new eclipse and use it hence.Sandysandye
Check <WORKSPACE>/.metadata/.log and post logged messages, if any.Tabriz
F
3

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!

Feverroot answered 12/5, 2014 at 6:45 Comment(1)
Can you explain about UseCompressedOops parameter and why use it in windows 7?Dinka
E
2

Create a new Workspace. Import your stuffs into it. That worked for me.

Extragalactic answered 24/8, 2015 at 2:47 Comment(0)
S
2

First before you do ANYTHING check the log: Look at the workspace/.metadata/.log file. In my case it was just some error with a subversion update using subclipse.

Sextans answered 9/1, 2017 at 12:39 Comment(0)
B
2

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.

Baseboard answered 7/8, 2020 at 14:34 Comment(0)
E
1

On eclipse neon.

On a specific project.

Last thing some days ago was install lombok.

For some days everythig was ok.

From yestarday same problem, eclipse crash after some seconds, after open.

Removed from eclipse.ini this line. -javaagent:D:\eclipse-neon\lombok.jar

Now eclipse restarted to work

Enthusiastic answered 19/3, 2020 at 10:36 Comment(0)
W
0

If you recently changed your eclipse base folder name, and you have installed lombok, then please check the below property and verify the path.

In my case the lombok path is wrong, so i am getting issue while starting the eclipse.

-javaagent:E:\IDEs\eclipse_2022_09_Work\lombok.jar
Walt answered 7/10, 2024 at 4:26 Comment(0)
E
-1

Navigate to a hidden directory in your Eclipse Workspace named .metadata, delete it, and start eclipse. Files in the .metadata directory seem to cause recurrent problems once Eclipse begins to crash.

Enschede answered 12/5, 2014 at 6:35 Comment(1)
This deletes also your settings for imported projects.Kwa

© 2022 - 2025 — McMap. All rights reserved.