Eclipse freezing at startup - before loading workspace
Found my problem. The Google GWT plugin does not clean up after itself and leaves lots of files in the Temp folder (C:\Documents and Settings{username}\Local Settings\Temp on XP). I had over 100000 files and several thousand folders in here - with over 99% of them due to the Google GWT plugin. I removed these and now Eclipse starts in a few seconds instead of 20 minutes. Plus my whole machine is generally running more smoothly.
Maybe this blog post could help:
In your workspace directory perform the following steps:
- cd .metadata/.plugins
- mv org.eclipse.core.resources org.eclipse.core.resources.bak
- Start eclipse. (It should show an error message or an empty workspace because no project is found.)
- Close all open editors tabs.
- Exit eclipse.
rm -rf org.eclipse.core.resources
(Delete the newly created directory.)mv org.eclipse.core.resources.bak/ org.eclipse.core.resources
(Restore the original directory.)- Start eclipse and start working. :-)
I also had similar problem. Eclipse (Luna) started normally with splash screen, then opened main window and immediately freeze. For me running eclipse with
eclipse.exe -clean -refresh
fixed the problem.
The link @CharlesB posted led me in the right direction, but I found that you only need to delete the .snap
file located here:
[Workspace Directory]/.metadata/.plugins/org.eclipse.core.resources/.snap
(Note the .metadata
directory is hidden.)