cpu usage - Java CPU resource hog, 100% -


i have written program when starts runs 96% cpu , tips cpu 100% before crashing. need trace being done cpu whether program running though or particular method or call being worked on.

any suggestions or links?

thanks.

java visualvm should help. tool included in standard jdk. allows profile , inspect running java program. should in same directory javac executable.

here quick synopsis of command line use invoke tool.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -