Solved

CPU Usage Issue in c#

Posted on 2012-12-31
4
383 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 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