0
Reply

Get the C#.NET application metrics (Memory consumption)

Sivaprakash Chandiran

Sivaprakash Chandiran

Jul 18 2013 2:43 PM
1.2k
Hi,

             We have the C#.NET windows application with WPF and lot of animation/Graphics effects using third party controls like (Infragistics, Accusoft, etc). In client side it throwing lot of memory related issues and difficult to reproduce it in local environment.

         I need the sample code to in C# to track the application state like.
  1. What are objects are in the memory and its memory consumption details,
  2. How much RAM memory it utilizing,
  3. How much memory collected by garbage collector,
  4. Application thread call details,
  5. managed and unmanaged memory,
  6. List of live objects and its memory consumption details.
    Please send me the sample code and i need to implement this code in my application to monitor the application current state and memory utilization.

NOTE: I do not want memory profilers (I need the source code.)