Be confident that you don't have any memory leaks in your application by automating memory testing using NET Memory Profiler.
With .NET Memory Profiler you can:
The .NET Memory Profiler API makes it possible to automatically detect memory leaks and control the profiler from within the profiled program. (more...)
Add attributes to your method to define the expected memory usage. When profiling the application, the profiler will verify the expected behavior and notify you if the verification fails. (more...)
The testing can be fully automated by using a unit testing framework, such as NUnit, MSTest, or XUnit, and running the profiler using the free NmpCore tool or the MsBuild NmpCore task.
.NET Memory Profiler can be used to automate your memory testing. Download the free trial to see how it can help you to automatically detect memory leaks.Download Free Trial