| Author |
how can I down the CPU use rate
|
Dingcheng lee
Greenhorn
Joined: Aug 26, 2002
Posts: 18
|
|
in my program,I found i run my program,the CPU use rate is very high(often in 100% used),and after the work has compeleted,the cpu use rate not down.and there is no empty running thread. i can't get the reason.who can help me,and give me some advise to impove the performance!
|
 |
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
|
|
|
What OS are you using? Can you find out which process is taking up most of the CPU? On Windows use the Processes tab of Task Manager, and click on the top of the CPU column to sort by CPU usage. On Unix use the "top" command. This may give helpful clues...
|
"I'm not back." - Bill Harding, Twister
|
 |
Dingcheng lee
Greenhorn
Joined: Aug 26, 2002
Posts: 18
|
|
|
the OS on my machine is win2000 server.thanks!
|
 |
Jim Yingst
Wanderer
Sheriff
Joined: Jan 30, 2000
Posts: 18670
|
|
|
OK, so that means you've got Windows Task Manager, right? Which process is taking up all the CPU? Is it even a java process?
|
 |
Dingcheng lee
Greenhorn
Joined: Aug 26, 2002
Posts: 18
|
|
yes,is the java.exe,and now i am delete much useless operation, and now the cpu use rate down, thanks ,my dear friends
|
 |
David Weitzman
Ranch Hand
Joined: Jul 27, 2001
Posts: 1365
|
|
|
smartHawk, we find that the Ranch is a more pleasant place when people don't use obviously fictitious names. Please review the JavaRanch Naming Policy and change your display name to comply with the guidelines. Thanks!
|
 |
 |
|
|
subject: how can I down the CPU use rate
|
|
|