简体   繁体   English

Eclipse“javaw.exe”CPU使用率很高

[英]Eclipse “javaw.exe” High CPU usage

I have standard Eclipse Kepler with CDT installed. 我有安装了CDT的标准Eclipse Kepler。 Sometimes when it stays idle for a while the javaw.exe starts eating the CPU up to 30%. 有时当它保持闲置一段时间时, javaw.exe开始吃CPU高达30%。 Nothing is running in Eclipse, no indexing, no library update, no building or compiling. 没有任何东西在Eclipse中运行,没有索引,没有库更新,没有构建或编译。

How can I debug Eclipse to see if something is running in background? 如何调试Eclipse以查看某些内容是否在后台运行? Does Eclipse have any console or log so I can see what exactly is being done? Eclipse是否有任何控制台或日志,以便我可以看到究竟在做什么?

Not to mention, I even restarted the Eclipse but it just works for a few moment and then again reaches high CPU usage. 更不用说了,我甚至重新启动了Eclipse,但它只运行了一会儿,然后再次达到高CPU使用率。 What could be the problem? 可能是什么问题呢?

  • Windows 7 64bit Windows 7 64位
  • Eclipse Kepler standard (plugins ADT & CDT) Eclipse Kepler标准(插件ADT和CDT)
  • Java 7 Java 7

You can try add some memory to eclipse.ini parameter -Xmx512m 您可以尝试向eclipse.ini参数-Xmx512m添加一些内存

It can be useful in some cases but you will need to try it.. Hope that helps 它在某些情况下很有用,但你需要尝试它。希望有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM