10

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?

closed as too broad by Brian, TMN, Ixrec, user40980, Bart van Ingen Schenau Jan 28 '16 at 18:46

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

14

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

  • 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 Rahman Nov 3 '12 at 10:49
  • Jetbrains (makers of resharper) dotTrace too – razethestray Jan 26 '16 at 17:34

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