开发者

Is there a way in Eclipse to determine what is eating CPU time?

开发者 https://www.devze.com 2023-01-29 02:14 出处:网络
I am using Eclipse for Java development.I have a number of plugins (Maven, Subversive, JBoss reverse Engineering 开发者_Python百科tools, etc), and the system seems to hang fairly consistently, to the

I am using Eclipse for Java development. I have a number of plugins (Maven, Subversive, JBoss reverse Engineering 开发者_Python百科tools, etc), and the system seems to hang fairly consistently, to the point where it can be 10-20 seconds from a mouse click until it responds. I have given it a gig of memory in the configuration, and it is not even using half of that. When it hangs, it completely pegs one of the processors, and I see large numbers of Page File Deltas.

Is there any way to see what is happening inside Eclipse? Which plugin could be causing the problem?

I believe (although I am not positive) I am running Eclipse 3.5.2. I am running on Windows XP, SP 2 or 3 (I do not manage the machine, my company does, so I am not positive how up to date it is).


First, the one plugin that can help investigation this would be MAT (Memory Analyzer).
Full tutorial at Vogella.

Second, make sure to use an optimized eclipse.ini launched with the latest JDK (6u22) and check if the issue persists then.

0

精彩评论

暂无评论...
验证码 换一张
取 消