Eclipse持续减速 [英] Eclipse Slowing Down Continously

查看:71
本文介绍了Eclipse持续减速的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我告诉您我所有的系统配置。我有Intel i7处理器,16GB RAM和256GB SSD,足以应付这种情况。



我以前使用的是eclipse霓虹灯。安装几天后,调试模式变得太慢,按F6键将在4秒(检查时间)后进入下一行。我在SO和其他网站上找到了许多建议的步骤,但没有任何效果。因此,安装了日食氧气,它运行了好几天,然后再次开始出现相同的问题。不知道是什么原因造成的。



已经采取的步骤:

  1。修改了eclipse.ini中的-Xms和-Xmx参数以更新内存限制(从Xms256m到Xms768m)
2.卸载未使用的插件
3.还在新安装的
上关闭了自动更新4.已创建新的工作区
5.同时使用了JDK 1.7和1.8版本
6.一次只运行eclipse,没有其他

我要注意的一件事是,当我开始eclipse时,对于相同的eclipse项目,它可以在一定的时间(10-15分钟)内完美运行,但是随后开始变慢。 p>

请提出一些建议。谢谢。

解决方案

我想我找到了解决方案。



Eclipse正在从 C:\ProgramData\Oracle\Java中获取Java。我在eclipse.ini文件中添加了已安装java的路径。我已经测试过,目前可以正常使用。



添加的路径:

  -vm 
C:\Program Files\Java\jdk1.8.0_131\bin\javaw.exe


First I tell you all my system configuration. I have Intel i7 processor, 16GB RAM and 256GB SSD which is more than sufficient for this situation.

I was previously using eclipse neon. Some days after installation, debug mode becomes too slow that pressing F6 will get to next line after 4 seconds(checked time). Done many suggested steps I found on SO and other websites but nothing worked. So Installed eclipse Oxygen and it ran fine for some days and again the same problem started occurring. Don't know what is causing this.

Steps that I already was taken:

1. Modified -Xms and -Xmx parameters in eclipse.ini to update memory restrictions(Xms256m to Xms768m)
2. Uninstalled unused plugins
3. Turned auto update off on new installation also
4. Created new workspaces
5. Used both JDK 1.7 and 1.8 versions
6. Run only eclipse at a time and nothing else

One thing that I am noticing is when I start eclipse, it runs perfectly for a certain amount of time(10-15 mins) for the same eclipse project but then starts to slow down.

Please suggest something. Thanks.

解决方案

I think I found a solution.

Eclipse was taking java from "C:\ProgramData\Oracle\Java". I added the path of installed java in eclipse.ini file. I have tested and currently it is working smooth.

Added path:

-vm
C:\Program Files\Java\jdk1.8.0_131\bin\javaw.exe

这篇关于Eclipse持续减速的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆