如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
如何使使用Eclipse的体验更快?
例如:我禁用了所有我不需要的插件(Mylyn, Subclipse,…)
我没有为Mercurial使用插件,而是将TortoiseHG配置为一个外部工具。
当前回答
如果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.
其他回答
如果您使用Maven和ivy,请检查它们的控制台,以防它们在构建期间占用处理。我使用ivy,在此基础上,我有某些JAR文件(内部)更改为相同的版本,所以它必须一直锻炼来获取它们。
如果您在网络驱动器上定义了项目,那么在构建/读/写类型的过程中也会遇到延迟。
禁用/卸载你不需要的插件。 你不需要的近距离视角 关闭未使用的数据库连接
还有一件事可以在Windows和Linux上加速Eclipse——将JVM放在RAM磁盘中。
对于Windows,您可以使用Qsoft的商用RAM磁盘驱动程序。
对于Linux,可以使用Internet上许多文章中描述的任何一种方法。重要的是要为RAM磁盘提供比JVM大小大10%的额外空间。
来看看。这真的很重要。
禁用病毒扫描程序,或至少将任何病毒扫描程序配置为在读访问时不扫描JAR文件。
问题可能是java缓存,或者java临时文件。
打开窗口的控制面板,找到Java面板 单击“常规”页签的“设置”, 删除临时文件,并设置存储临时文件的磁盘空间 文件大小不超过10000MB。 重新启动eclipse。恢复所有验证器,您将看到IDE Eclipse的速度是正常的。
可能有一些事情会延迟eclipse的启动和退出。其中一个类似于Windows中的lookalike。禁用窗口动画和禁用启动活动可以在一定程度上加快窗口速度
类似于在eclipse中,我们可以有同样的东西Windows->一般->首选项->外观->关闭一些装饰选项。这可能会起到一点提振作用,但可能不会产生太大影响。
在我看来,你可能已经创建的工作空间中的项目应该限制在一定的范围内,如果项目更多,应该创建一个新的工作空间。例如,当您尝试在服务器上运行单个项目时,与在同一服务器上运行多个项目相比,它所花费的时间更少