Process CPU usage jumps to 100% without any reason?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am working on an application in c# that runs in the background.
All it does is monitor a value from a performance counter using a timer. It then draws these values in a chart

Now, this application works for a long time, sometimes even days. But sometimes it just freezes and the CPU usag
spikes to 100% for that process. I really don't understand why, and there seems to be no actual event that trigger
this. It looks like this problem occures more when I am using more CPU power during a long period of tim
(f.e. when compressing something). But even then, sometimes the program freezes and sometimes it keeps running
smooth at 0-2% usage..

Is there anyone that can give me an idea on how to solve this problem

I thank you for your time
Kind regards
Kevin Chabot
 
Kevin,

I don't have an easy solutions. But I would write a text file log and see what's the last place it get's to before it goes off to never never land.

-Calvin Luttrell
ProjectThunder.com
 
Back
Top