|Profile Application causes Eclipse to use 50% CPU refreshing workspace [message #52358]
||Wed, 01 February 2006 14:59
| Michael Giroux
Registered: July 2009
I have a small Java application that creates a |
javax.xml.transform.Transformer and transforms an xml file. The
application normally runs in less than a second.
I right click on the class in the project and select Profile As Java
Application. The profiling appears to work as expected with lots of
good information collected.
I'm not sure what to expect when the app is complete. Here is what I
see. I will appreciate if anyone can tell me if this is normal, or if
maybe I'm doing something wrong:
1. The main() method seems to be complete, but the profile perspective
has pause and stop buttons active. The various profile reports show
various non-zero counters for active objects. It appears that profiling
prevents the application from actually terminating so that stats can be
collected. How can I tell if the app is actually complete, or if
something is wrong? As far as I can tell, the app could be in a loop.
2. If I press the stop button to terminate profiling, the main eclipse
window continues to use 50% of the CPU. The progress window shows
"Refreshing workspace". The information field shows "Resources to
refresh: 19" and never changes. If I click the red box at end of
progress bar, the "resources to refresh" counter goes down. If I click
it enough times to reduce the count to zero, eclipse finally returns to
normal (near zero) cpu usage.
Any comments on this observation will be appreciated.
Powered by FUDForum
. Page generated in 0.01643 seconds