Eclipse随机使用100%CPU [英] Eclipse uses 100 % CPU randomly

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

问题描述

我的日食有时开始非常自发地使用我的100%的CPU。
我不知道为什么它需要那么多的CPU使用率。没有后台任务,如建筑工作区运行。



一段时间后,CPU负载下降到0,一切正常。



workspace / .metadata / .log 文件中找不到有关问题的任何信息。


$ b有没有人有提示我可以弄清楚哪个部分的eclipse正在使用CPU这么大?有没有办法获得线程转储eclipse? eclipse进程中的 kill -3 不执行任何操作。



Eclipse版本:Galileo JavaEE

操作系统:Linux 2.6.31

解决方案

您可以使用visualvm来配置eclipse,获取堆转储或线程转储,查看正在运行的线程等。


My eclipse sometimes starts using 100 % of my CPU very spontaneously. I can't figure out why it needs that much CPU usage. There is no background task like "building workspace" running.

After some time the CPU load drops to 0 and everything is normal.

I can't find any information related to the problem in workspace/.metadata/.log file.

Has anybody some tip how I can figure out which part of eclipse is using the CPU so heavily? Is there a way to get a thread dump of eclipse? The kill -3 on the eclipse process doesn't do anything.

Eclipse Version: Galileo JavaEE
Operating System: Linux 2.6.31

解决方案

You can use visualvm to profile eclipse, get a heap dump or a thread dump, see which threads are running, etc.

这篇关于Eclipse随机使用100%CPU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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