如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
当前回答
虽然与Eclipse没有直接关系:
如果你运行的是Windows 7(可能还有Windows Vista),如果你的东西在默认的位置——你的主文件夹里,一定要禁用工作空间文件夹的文件索引。Windows默认会索引你主文件夹中的所有内容,这对你的工作空间来说是一种浪费。(右键单击资源管理器中的工作区文件夹,属性->高级。)
其他回答
我给了它大量的内存(在启动它的命令中添加一个- xmx开关),并尽量避免退出和重新启动它——我发现最严重的延迟是在启动时,所以给它大量的RAM可以让我在崩溃之前保持更长的时间。
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.
关闭当前未使用的任何打开的项目。
尝试在开发过程中关闭自动发布模式。
不可低估的是拥有一台快速的机器。16-32 GB的RAM, SSD和一个不错的处理器……who0o0om你走了。
好吧,如果您正在使用Eclipse开发GWT应用程序,那么方法如下:
Eclipse中的内存不足错误
还记得将相同的VM参数添加到托管模式配置中。