Solved

CPU Usage Issue in c#

Posted on 2012-12-31
4
381 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
  • 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 85

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 85

Accepted Solution

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

896 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now