如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
当前回答
又有一个解决方案 删除这两个文件夹中的所有文件
.metadata.plugins \ org.eclipse.core.resources.history .metadata.plugins \ org.eclipse.jdt.core
这是第一次帮助。但它仍然保持缓慢
其他回答
问题可能是java缓存,或者java临时文件。
打开窗口的控制面板,找到Java面板 单击“常规”页签的“设置”, 删除临时文件,并设置存储临时文件的磁盘空间 文件大小不超过10000MB。 重新启动eclipse。恢复所有验证器,您将看到IDE Eclipse的速度是正常的。
在Windows 8上。 打开控制面板。找到Windows Defender。进入设置 排除Spring/Eclipse和工作区所在的所有文件夹
我给了它大量的内存(在启动它的命令中添加一个- xmx开关),并尽量避免退出和重新启动它——我发现最严重的延迟是在启动时,所以给它大量的RAM可以让我在崩溃之前保持更长的时间。
如果Eclipse运行缓慢,我遵循以下几个步骤:
Any unused plugins installed in Eclipse, should uninstall them. -- Few plugins makes a lot much weight to Eclipse. Open current working project and close the remaining project. If there is any any dependency among them, just open while running. If all are Maven projects, then with miner local change in pom files, you can make them individual projects also. If you are working on independent projects, then always work on any one project in a workspace. Don't keep multiple projects in single workspace. Change the type filters. It facilitates to specify particular packages to refer always. As per my experience, don't change memory JVM parameters. It causes a lot of unknown issues except when you have sound knowledge of JVM parameters. Un-check auto build always. Particulary, Maven project's auto build is useless. Close all the files opened, just open current working files. Use Go Into Work sets. Instead of complete workbench. Most of the components of your application you can implement and test in standalone also. Learn how to run in standalone without need of server deploy, this makes your work simple and fast. -- Recently, I worked on hibernate entities for my project, two days, I did on server. i.e. I changed in entities and again build and deployed on the server, it killing it all my time. So, then I created a simple JPA standalone application, and I completed my work very fast.
Eclipse会延迟加载插件,大多数常见的插件, 比如Subclipse,如果你不使用它们,就不要做任何事情。 它们在运行时完全不会降低Eclipse的速度,而且它 不能帮你让他们失效。事实上,Mylyn被展示过 在正确使用Eclipse时减少内存占用。
我运行Eclipse时使用了大量的插件,但没有任何性能 罚点球。
Try disabling compiler settings that you perhaps don't need (e.g. the sub-options under "parameter is never read). Which version of Eclipse are you using? Older versions were known to be slow if you upgraded them over and over again, because they got their plug-ins folder inflated with duplicate plug-ins (with different versions). This is not a problem in version 3.4. Use working-sets. They work better than closing projects, particularly if you need to switch between sets of projects all the time.
使用-Xmx不仅需要增加内存 开关,这也是烫发的大小。我认为 在Eclipse 3.4中解决了这个问题。