如何加速 Eclipse Juno?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14374662/
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
How do I speed up Eclipse Juno?
提问by Pushkar
After updating to Eclipse Juno I found that it intermittently freezes when I change views. It also becomes slow. Adjusting the Heap size does not have any positive effect on the performance.
更新到 Eclipse Juno 后,我发现当我更改视图时它会间歇性地冻结。它也变得缓慢。调整堆大小对性能没有任何积极影响。
How do I improve the performance of Eclipse?
如何提高 Eclipse 的性能?
回答by Pushkar
UPDATE :New performance release(SP2) for Eclipse Juno is out. So if your Eclipse Juno(4.2) is too slow or if it crashes intermittently it can be updated to SP2.
更新:Eclipse Juno 的新性能版本 (SP2) 已发布。因此,如果您的 Eclipse Juno(4.2) 速度太慢或间歇性崩溃,则可以将其更新到 SP2。
Just goto Help -> Check for Updates
只需转到“帮助”->“检查更新”
P.S. Please backup your Eclipse folder before doing this.
PS 请在执行此操作之前备份您的 Eclipse 文件夹。
ORIGNAL ANSWER:
原始答案:
This is a known issue in Eclipse Juno and there is a patch released for that. Installing this fixes the performance issues -
这是 Eclipse Juno 中的一个已知问题,并为此发布了一个补丁。安装它可以解决性能问题 -
http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation
http://wiki.eclipse.org/Platform_UI/Juno_Performance_Investigation
Quote
引用
Several major performance defects have been addressed in the Juno SR2 stream (4.2.2). Community members have confirmed that these fixes substantially address the performance problems with editor and view opening, closing, and switching. These fixes will be widely available in the Juno Service Release 2 (February 2013) and Kepler (June 2013) releases. Meanwhile, a patch is available for those using Juno SR1 that provides early access to these fixes. To install this patch:
Ensure you are already running on a package from the Juno SR1 release (September 2012) Invoke Help > Install New Software Select this repository: http://download.eclipse.org/eclipse/updates/4.2Expand Juno SR1 Patches and install Eclipse UI Juno SR1 Optimizations To repeat, this patch is only intended for users of the Juno SR1 release. If you have a Juno SR2 maintenance build from November 21 or later, or Kepler stream milestone M4 or later, this patch is not required.
Juno SR2 流 (4.2.2) 中解决了几个主要的性能缺陷。社区成员已确认这些修复实质上解决了编辑器和视图打开、关闭和切换的性能问题。这些修复程序将在 Juno Service Release 2(2013 年 2 月)和 Kepler(2013 年 6 月)版本中广泛提供。同时,还为使用 Juno SR1 的用户提供了一个补丁,可以提前访问这些修复程序。要安装此补丁:
确保您已经在运行 Juno SR1 版本(2012 年 9 月)中的包 调用帮助 > 安装新软件 选择此存储库:http: //download.eclipse.org/eclipse/updates/4.2展开 Juno SR1 Patches 并安装 Eclipse UI Juno SR1 优化 重复一遍,此补丁仅适用于 Juno SR1 版本的用户。 如果您拥有 11 月 21 日或之后的 Juno SR2 维护版本,或者 Kepler 流里程碑 M4 或更高版本,则不需要此补丁。
回答by Rudy D'hauwe
Upgrading to Eclipse Kepler 4.3 is a no brainer, it's much faster than the Juno release because the Eclipse team has indeed fixed the performance defects. I personally ended up installing my entire development environment including the JDK and Eclipse on a RAM drive.
升级到 Eclipse Kepler 4.3 很容易,它比 Juno 版本快得多,因为 Eclipse 团队确实修复了性能缺陷。我个人最终在 RAM 驱动器上安装了我的整个开发环境,包括 JDK 和 Eclipse。
Eclipse now starts in under 10 seconds and overall performance has improved dramatically. I documented my approach here:
Eclipse 现在可以在 10 秒内启动,并且整体性能得到了显着提高。我在这里记录了我的方法:
http://www.whizu.org/articles/how-to-install-eclipse-on-a-ramdrive.whizu
http://www.whizu.org/articles/how-to-install-eclipse-on-a-ramdrive.whizu