How to reduce builder time in eclipse?

不问归期 提交于 2020-01-14 10:32:47

问题


I am working with eclipse . When Eclipse restart / open , I am unable to work until the builder , building workspace or finished . How can I reduce this timing ?

Please look at the screenshot .

Sometimes my eclipse is hanged due to that . I am unable to continue my work process . It happened not only on restart . For eclipse project open / close . Any solution regarding this ?


回答1:


One good way is to suspend all the validation when ever you create a new work space in eclipse, this will reduce some of time at eclipse start up

For this go to window --> preferences there search for validation and check suspend all validators See image for more detail

Hope it will help you.




回答2:


I have faced this kind of issue. I won't say this is the complete solution for the problem. But what I did is:

Look for the plug-ins installed in your eclispe & not being used in your project. Uninstall them from eclipse.

Also look at your code. There might be some code that tries to refer to some kind of scripts or plug-ins that might be skipped/removed.

This will reduce some time of building workspace. Hope this helps you.




回答3:


The Eclipse workspace builder is triggered only on resource changes. So if it starts to build immediately after launching Eclipse, something changed the workspace content. This might be

  • another plugin in the same Eclipse instance or
  • a tool outside Eclipse, which modified the workspace files during the time that Eclipse was not running.

In your case this might be related to Mercurial, judging by the "hg cache" string in the message. So check whether or not you have some automatic updates of version controlled files.



来源:https://stackoverflow.com/questions/12928370/how-to-reduce-builder-time-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!