Eclipse刷新工作区需要永远 [英] Eclipse refreshing workspace takes forever

查看:109
本文介绍了Eclipse刷新工作区需要永远的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我启动Eclipse并准备摇摆时,我必须坐在那里等待5到6分钟,直到Eclipse聚在一起,刷新工作空间...(占13%)中指出

When I start up Eclipse, ready to rock, I have to sit there and wait for like 5 or 6 minutes until Eclipse get its sh*t together, "Refreshing workspace... (13%)" it states in the status bar while Eclipse is completely frozen.

是否有办法关闭此功能或至少加快此刷新速度?

Is there any way to turn this off or at least speed this "refreshing" up?

更新:

事实证明,通过关闭不使用的项目,该解决方案非常容易解决。我目前有大约25个项目,几乎所有项目都是Subversion签出。我认为在启动时,Eclipse将扫描所有打开/活动的项目并进行某种形式的同步。关闭我目前未在进行的项目彻底可以加快启动Eclipse的速度。

It turns out that the solution was quite easy to resolve by closing projects that where not in use. I currently have about 25 projects and almost all of them are Subversion check-outs. I think that on start-up Eclipse will scan through all open/active projects and do some synchronization of some sort. Closing projects that I'm currently not working on drastically speeded up launching Eclipse.

推荐答案

有关于SO的几个问题/答案可能会帮助您:

There are a couple of questions/answers on SO that might help you :

  • Tricks to speed up Eclipse
  • How to speed up the eclipse project ‘refresh’ ; I'm using the filesync plugin suggested there every day, and it's a real pleasure : 10 seconds for an SVN update, instead of 5 to 8 minutes (my files being on a network drive) ; same when launching Eclipse, as it was the "project refresh" that took time, exactly like you described.
  • Eclipse optimizations

也许这些帖子至少会对您有所帮助:-)

Maybe those posts will help you at least a bit :-)

如果没有:您能否进一步介绍一下您的设置?您正在使用哪些插件,您的项目有多少,您使用的是哪种操作系统,您使用的是哪种计算机(CPU,RAM,...)...

If not : can you tell us a bit more about your set up ? Which plugins are you using, how big are your projects, which OS do you use, what kind of computer (CPU, RAM, ...) do you use ...



可以肯定会帮助的一件事是,获得更多的RAM,至少在只有1 GB的情况下:这对于Eclipse来说还远远不够;我认为,如果您希望能够同时运行其他任何内容(浏览器,邮件等等),则最低需要2 GB。


One thing that will help for sure, is getting more RAM, at least if you only have 1 GB : that's definitly not enough for Eclipse ; in my opinion, 2 GB is the minimum required, if you want to be able to run anything else (browser, mail, whatever, ...) at the same time.

其他想法包括:


  • 使用sun的JVM;使用最新版本可能是个好主意

  • 也使用最新版本的Eclipse (对于PHP,从PDT 1.x切换到2时,我已经看到了很多很棒的东西.x,至少)

  • 正确配置JVM / eclipse.ini

  • Using sun's JVM ; using the last version is probably a good idea
  • Using the latest version of Eclipse, too (For PHP, I've seen great things when switching from PDT 1.x to 2.x, at least)
  • Configure your JVM / eclipse.ini properly

这篇关于Eclipse刷新工作区需要永远的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆