Solved

CPU Usage Issue in c#

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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 article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

685 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