Solved

CPU Usage Issue in c#

Posted on 2012-12-31
4
386 Views
Last Modified: 2013-02-12
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?
0
Comment
Question by:sachinjain_aspnet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 9

Expert Comment

by:sognoct
ID: 38732166
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
0
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 38732597
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?...
0
 

Author Comment

by:sachinjain_aspnet
ID: 38786859
Is there any specific tool or approach , so that i may get  in which region it is consuming memory ?
0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 38787081
0

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

689 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question