Process CPU usage jumps to 100% without any reason?

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
 
C

Calvin Luttrell/ProjectThunder.com

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top