How to fix CPU eclipse eclipse while debugging on tomcat server

I know stackoverflow is for programming problems, but this is exactly what you are looking for on google and other people are asking the same unanswered question and this is exactly what I read for stackoverflow.

I am running ganymede. I am debugging a servlet in tomcat on windows. When I do a line trace, there is a sudden CPU spike. The state of the windows process says it is eclipsed. The only evidence of the oddity is that the heap report in the corner (next to the garbage collection button, if enabled) changes every second, up and down, up and down. I gave it 256 megs and it bounces between 155, 169, 159, 164 .... it just keeps changing up and down. But nothing happens in my progress viewport. I tried to give it 512 megs without help (2 gigs in the machine)

Any idea how to get eclipse to tell me what it is doing with my whole cpu? This makes the debugger unresponsive and nothing works. I am getting timeout errors in my step command.

+1


source to share


1 answer


You can run your eclipse with jconsole if you enter eclipse.ini the

-Dcom.sun.management.jmxremote

      



option.

You will then be able to monitor / record any thread / memory / object usage during the session, gathering more information about what is going on.

+1


source







All Articles