Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I am writing a C# application, and can see the memory usage increasing as the running time of the application increases.

Are there any tools or techniques I could monitor my application's memory use, identify memory leaks and generally improve my application's memory use?

share|improve this question
add comment

1 Answer

up vote 12 down vote accepted

The following resources may help you

For Tool

  • .NET Memory Profiler As good as monitoring the memory is by itself, you're probably thinking of memory profiling to identify leaks or stale objects.
  • .NET Memory Profiling This tool helped me to solve many different issues related to memory management in C# .Net application I have to work with.
  • Tool Mentor This tool describes how to use Rational Purify to profile and improve memory usage in a managed code application. This tool mentor is applicable for use with systems running the Microsoft .NET Framework on Microsoft Windows.
  • VMMap It is a clever tool that gives you a picture of what is taking up the memory in a running process.

  • ANTS Memory Profiler This tool finds memory leaks and optimize memory usage in your .NET application.

For Concepts &Techniques

share|improve this answer
1  
I have used and been happy with redgate products. They provide the ANTS Memory profiler –  Ben Nov 3 '12 at 10:44
    
@Ben, Yes. Another good one. I have added this at answer. –  Md. Mahbubur R. Aaman Nov 3 '12 at 10:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.