cpu is very high in OPT Devices

Good Day

we are working on OPT device for Petroleum   Stations and we are facing a problem that the CPU is very high in sometimes not always while we leave it open for two or three days

we have heartbeat thread enabled all the time

any suggestion?
LVL 16
Kamal KhaleefaInformation Security SpecialistAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
you need to expand upon this as we are not mind readers here. you are designing a device that does something.. and only by tracing the cpu usage using a debugger or for instance Telerik trace tools can you determine where the problem is.. you may have created a race condition in your software or one of a myriad of other problems.
Kamal KhaleefaInformation Security SpecialistAuthor Commented:
Thanks for your reply

sorry for not clearing my question.

let me ask it in another way
How i can troubleshoot high CPU usage of a program.

i have developed one windows application and deploy it to one machine.

and that machine shows high cpu usage of our windows application

Iain MacMillanIT Regional Manager - UKCommented:
you could use an app like Process Explorer, which is a bit like Task Manager on steroids.  Will break down everything that is running on your windows system and tell you all the resources being used.  This should tell you if its just your app using high CPU, or your app causing the high CPU via another function such as IIS, .Net etc

Also does your app have any dependant requirements, like versions of MS C++ or .Net, OS updates etc.

David Johnson, CD, MVPOwnerCommented:
procmon/task manager doesn't go deep enough.. you need a debugging tool i.e. windows debug / visual studio debugger / telerik trace tools and it gets long and involved.. you can however have procmon generate a dump file when your program reaches a certain condition.. it is then up to you to analyse the dump.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kamal KhaleefaInformation Security SpecialistAuthor Commented:
thanks alot
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.