Link to home
Start Free TrialLog in
Avatar of sachinjain_aspnet
sachinjain_aspnet

asked on

CPU Usage Issue in c#

Hello ,

I am working with window application in c# . It is consuming Very much high CPU Usage. Is there any tool or any other way so that it may be know that at which class / function or which module its memory is consuming very much high?
Avatar of sognoct
sognoct
Flag of Italy image

this article explains how to calculate the threads cpu usage :

http://www.codeproject.com/Articles/10258/How-to-get-CPU-usage-of-processes-and-threads
A high cpu usage is usually a result of a tight loop.  Do you have any large loops in your app?  How about a polling loop?  What does your app do?...
Avatar of sachinjain_aspnet
sachinjain_aspnet

ASKER

Is there any specific tool or approach , so that i may get  in which region it is consuming memory ?
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial