如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
当前回答
禁用标签装饰可以获得另一种性能提升 (Windows ->首选项;概述->外观->标签装饰) 在启动时禁用未使用的功能 (Windows ->首选项;一般->启动和关闭)。
您还可以根据JVM选择不同的垃圾收集策略来获得额外的性能。
如果你厌倦了重启周期,你可以使用ZeroTurnaround的JavaRebel。这将缩短重启服务器/客户端的时间。
其他回答
这个线程中的最佳实践是在ZeroTurnaround的免费Optimizer For Eclipse中实现的。
它有什么帮助?
内存分配不足 类验证开销 过多的索引和历史记录 过时或缓慢的JDK Eclipse已经过时 漫长的构建和重新部署时间
要了解更多细节,请查看RebelLabs的这篇文章。
除了为内存使用配置eclipse.ini之外。我已经通过“启动和关闭选项”进行了配置。我的月食现在燃烧得很快。
也试试这个,它会提高性能:
清理索引-{工作区 路径}.metadata.plugins \ org.eclipse.jdt。核心清理历史—— {工作区 路径}.metadata.plugins \ org.eclipse.core.resources.history
清理上述文件夹不会影响项目文件。
我也遇到过类似的减速,这个修复只适用于使用Eclipse的C/ c++变体的情况。对于C/ c++,你可能想要禁用索引器,它以占用CPU而闻名。它相当于VS智能感知。 要禁用CDT索引器,请进入Window->Preferences,在C/ c++选项卡下选择indexer并取消选中启用索引器。
I also tuned vmargs and stuff. But what really sped up Eclipse on Windows is the "proper" configuration of the anti-virus software. You have to disable the on-demand scanning of packed files. jar files, and many files related to java are packed with PKZIP algorithm to spare space. Because Eclipse uses tons of java files, an anti-virus attempts to individually unpack and scan every one of them. So for Windows platform: turn off the on-demand scanning of packed files, otherwise Eclipse will be unusably slow. Please keep in mind, that disabling this unfortunately makes your system weaker against attacks, most of the malware use packers.