Why does my Eclipse keep not responding?

Eclipse

Eclipse Problem Overview


I'm using Eclipse, and at random times, it will just freeze up and stop responding. Does this happen to anyone else? It usually happens when I click on a line of code, whether it be Java or XML. Any ideas on how to fix it?

System Specs:

enter image description here

Eclipse Solutions


Solution 1 - Eclipse

Open your workspace\.metadata\.log file. That will tell you usually what is going wrong.

Solution 2 - Eclipse

Try this, it worked for me!

If you happen to have Eclipse not responding anymore sometimes, the reason could be that you sit on a 64bit machine where eclipse needs more memory. Be sure to have (at least) the following configurations in your eclipse.ini (I even use bigger values for the PermSizes):

-Xms512m
-Xmx1024m
-XX:PermSize=64m
-XX:MaxPermSize=128m

Solution 3 - Eclipse

I just restarted the adb (Android Debug Bridge) this way:

  1. adb kill-server
  2. adb start-server

and it works again!

Solution 4 - Eclipse

Last night at 2am I closed my Eclipse (Juno) just fine. This morning I open it up and I get nothing but "Not Responding" on my 64bit Windows 7 machine.

I looked in [workspace]\.metadata\.log and it showed an error with Invalid property category path: ValidationPropertiesPage

I cuss it out pretty good and then show it who's the boss :

  1. delete [workspace]\.metadata folder
  2. delete [workspace]\[project]\.settings
  3. Open up Eclipse to the same workspace as before, re-import your project.

Which brings me to another topic... Eclipse -> import -> Android -> Existing Android code into workspace... seems to be broken once again. But that's a different topic.

Solution 5 - Eclipse

Very likely your filesystem is out of sync with your Eclipse... Resource is out of sync with the file system. Using SVN? If you "Refresh" all of your projects in explorer, speed returns to normal.

Solution 6 - Eclipse

I had similar symptoms recently. Turned out it was caused by the Subversion server being unavailable - once that was restarted I was able to right-click. My environment was Eclipse Luna with Subclipse.

So worth checking that any connected source control systems are operational. Hope that helps.

Solution 7 - Eclipse

for me, it was because of all the outgoing files, i.e workspace is not in sync with SVN, due to the 'target' folders (maven project, or when building web project), add them to svn:ignore.

Solution 8 - Eclipse

I kept running into this problem every time I tried opening eclipse. I resolved it by unplugging my android device's USB from my laptop, and eclipse worked again.

Solution 9 - Eclipse

If there is a project you earlier imported externally (outside of Workspace), that may cause this problem. If you can access Eclipse try to remove it. If you are getting the 'No responding at startup', then go delete the file at source.

This will solve the problem.

Solution 10 - Eclipse

I had a problem like you. But I am Windows 8.1 64 bit user. At first I use eclipse Kepler on my 8.1. The eclipse often become not responding when I worked on. After that, I decide to back to eclipse Juno and it works fine now.

Solution 11 - Eclipse

This may help

In your eclipse,

  1. Go to Help

  2. Click Eclipse marketplace

  3. search - optimizer

install "optimizer for eclipse"

enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionColeView Question on Stackoverflow
Solution 1 - EclipseAjay GeorgeView Answer on Stackoverflow
Solution 2 - EclipseLoveProgrammingView Answer on Stackoverflow
Solution 3 - EclipseeeadevView Answer on Stackoverflow
Solution 4 - EclipseSomeone SomewhereView Answer on Stackoverflow
Solution 5 - EclipseRyan DonovanView Answer on Stackoverflow
Solution 6 - Eclipsem_at_vidaviaView Answer on Stackoverflow
Solution 7 - Eclipsemel3kingsView Answer on Stackoverflow
Solution 8 - EclipseKacyView Answer on Stackoverflow
Solution 9 - EclipseUmit KayaView Answer on Stackoverflow
Solution 10 - EclipseLuki B. SubektiView Answer on Stackoverflow
Solution 11 - EclipseParth PithadiaView Answer on Stackoverflow