简体   繁体   中英

Eclipse Kepler freezes when saving

I have recently had a problem with Eclipse. I am developing a java application. It suddenly freezes whenever I try to save a file. Indeed, it happens to some files in my project while it works fine with the others. I have checked the .log file in my workspace and there is no error message! I tried to disconnect my project from GIT, but the problem persisted. It drives me crazy. I have to restart Eclipse many times everyday.

Any solution would be greatly appreciated.

Eventually, it's worked. I created a new workspace and import it my project to it. Everything works well since then, like a magic! It seems the problem occurred because my workspace was too old. I have been working on the same workspace since more than 2 years. Thanks fellows for your time to help.

Such kind of issues should provide all related info: OS, Java, Eclipse version, list of plugins installed. Example of file saved. CPU, RAM size, memory setting for Eclipse.

Without knowing those details some recommendation would be to analyze and try to find the cause by comparing:

  • try on other PC,
  • with other Java version
  • other Eclipse version
  • the same Eclipse version without any additional plugins.
  • increase Eclipse memory settings

Check if it is build related by disabling automatic build.

Check if there are "Save Action" configured in Preferences.

and so on.

  • maybe some plugin causes that, but usually people just go with new Eclipse instance instead of comparing different plugins combinations.

See also How can you speed up Eclipse?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM