Eclipse 中保存速度慢
我正在使用 Eclipse 3.5、Java 6u20、Tomcat 6.0.28,但我有一个大问题: 一切正常,但不知何故(我不知道如何)Eclipse 开始变得非常慢。
当我编辑某些文件时,Eclipse 冻结,并显示一个信息窗口,显示正在保存......
并且持续大约一两分钟,然后 tomcat 开始发布文件。直到最近这一切都还好(一切都在 3 秒内完成)。
我不知道项目中发生了什么变化,我尝试过使用不同的 eclipse、tomcat、Java 等。
当我打开系统进程时,它会显示一个系统进程: 系统:正在更新 Tomcat 的状态...
可能出了什么问题?有什么提示吗?
I'm using Eclipse 3.5, with Java 6u20, Tomcat 6.0.28, and I have a big problem:
Everything worked normal, and somehow (I don't know how) Eclipse started to be very slow.
When I edit some file, Eclipse freezes, and show me a info window, saying Saving.........
And that last for about a minute or two, and than tomcat start to publish files. Till recently this worked ok (everything was finished in 3 seconds).
I don't know what has been changed in project, and I have tried using different eclipse, tomcat, Java,....
When I turn on System processes it shows a system process:
System: Updating status for Tomcat....
What could be wrong? Any hint guys?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
告诉您解决问题的方法:我们安装了 Eclipse 3.6,然后打开了在 Process View 中处理的系统。以上进程系统:正在更新 Tomcat 的状态...站立进程计算装饰。
我们关闭了所有装饰,除了 SVN 装饰(窗口-首选项-标签装饰),现在保存工作正常。
显然项目的文件数量有一些限制,超过这个限制 Eclipse 就会表现得很奇怪?
To tell you what solved the problem: We installed Eclipse 3.6 and there we turned on system processed in Process View. Above process System: Updating status for Tomcat... stood process Calculating Decorations.
We turned off all decoration, except SVN decoration (Window-Preferences-Label decorations) and saving works fine now.
Apparently there is some limit in number of files of project above which Eclipse is behave strange?
安装 egit 后我的保存速度变慢了。我卸载了这个,一切恢复正常。
My saves got slow after installing egit. I uninstalled this, and things are back to normal.
我在 Eclipse 中的一些 Java 项目上遇到了大约 2 秒的缓慢保存。在其他项目上,保存是立即执行的。删除所有断点解决了该问题。
I was experiencing slow saves of about 2 seconds on some Java projects in Eclipse. On other projects saves were performed instantly. Removing all breakpoints resolved the issue.
我也遇到了同样的问题,在保存过程中我可以看到 sonarlint 处理需要时间,所以我右键单击项目属性,sonarlint ->取消选中自动运行 SonarLint。
基本上,您可以看到导致 Eclipse 进度视图缓慢的原因,并尝试禁用它。
I also had the same problem, during saving I could see the sonarlint processing was taking time so I right click on project properties, sonarlint -> uncheck Run SonarLint Automatically.
Basically you can see what's causing the slowness in progress view of eclipse and try to disable that.