Eclipse“javaw.exe” CPU使用率高 [英] Eclipse "javaw.exe" High CPU usage

查看:149
本文介绍了Eclipse“javaw.exe” CPU使用率高的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有安装了CDT的标准Eclipse Kepler。有时当它闲置一段时间时, javaw.exe 开始吃CPU高达30%。 Eclipse中没有运行任何内容,没有索引,没有库更新,没有构建或编译。

I have standard Eclipse Kepler with CDT installed. Sometimes when it stays idle for a while the javaw.exe starts eating the CPU up to 30%. Nothing is running in Eclipse, no indexing, no library update, no building or compiling.

如何调试Eclipse以查看某些内容是否在后台运行? Eclipse有任何控制台或日志,所以我可以看到究竟在做什么?

How can I debug Eclipse to see if something is running in background? Does Eclipse have any console or log so I can see what exactly is being done?

更何况,我甚至重新启动了Eclipse,但它只运行了一会儿,然后再次达到高CPU使用率。可能是什么问题?

Not to mention, I even restarted the Eclipse but it just works for a few moment and then again reaches high CPU usage. What could be the problem?


  • Windows 7 64位

  • Eclipse Kepler标准(插件ADT& CDT)

  • Java 7

推荐答案

你可以尝试为eclipse.ini参数添加一些内存-Xmx512m

You can try add some memory to eclipse.ini parameter -Xmx512m

它在某些情况下很有用,但你需要尝试一下..
希望有帮助

It can be useful in some cases but you will need to try it.. Hope that helps

这篇关于Eclipse“javaw.exe” CPU使用率高的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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