eclipse 启动插件安装很慢

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4179612/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 15:20:36  来源:igfitidea点击:

eclipse very slow to start a plugin install

eclipse

提问by Eric

I use eclipse for my projects.

我在我的项目中使用 eclipse。

When I want to install or update a plugin, it is very very slow to calculate dependencies ( about 5 to 10 minutes) and then it is fast to download files and install them.

当我想安装或更新插件时,计算依赖关系非常慢(大约 5 到 10 分钟),然后下载文件并安装它们很快。

Do you know how to solve that ?

你知道如何解决吗?

It is on Ubuntu 10.04 with latest patches + eclipse 3.6.1

它在带有最新补丁的 Ubuntu 10.04 + eclipse 3.6.1 上

No proxy is used. I noticed the problem with several computer at home, but I do not have this problem at work (I use a proxy at work)

不使用代理。我注意到家里几台电脑的问题,但我在工作中没有这个问题(我在工作中使用代理)

回答by Kane

Try to uncheck the option "Contract all update sites" before installing your selection. Because p2 would try to check the dependency from all the available update sites(download the metadata repository firstly) when checking that option.

在安装您的选择之前,尝试取消选中“签约所有更新站点”选项。因为 p2 在检查该选项时会尝试检查所有可用更新站点的依赖项(首先下载元数据存储库)。

alt text

替代文字

回答by Felician

I had very similar issue in Windows recently, but finally I managed to figure out what is causing the extremely slow network connections in Eclipse. Actually the issue isn't the low bandwidth, but connection timeouts. The solution in my case was to disable all unnecessary network adaptersin Windows like Hamachi's and TeamViewer's adapter. I know you are on Ubuntu, but I'm sure the root of the issue in your case is very similar.

我最近在 Windows 中遇到了非常相似的问题,但最终我设法找出了导致 Eclipse 中网络连接速度极慢的原因。实际上问题不是低带宽,而是连接超时。我的解决方案是禁用Windows 中所有不必要的网络适配器,如 Hamachi 和 TeamViewer 的适配器。我知道您使用的是 Ubuntu,但我确定您的问题的根源非常相似。

回答by Pablo

Disabling Windows Defender and other Antivirus/spyware can help. Maybe the speed up is not so high, but at least it will run faster.

禁用 Windows Defender 和其他防病毒/间谍软件会有所帮助。或许提速没有那么高,但至少会跑得更快。