Automate Memory Testing
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:
Automatically detect memory leaks
The .NET Memory Profiler API makes it possible to automatically detect memory leaks and control the profiler from within the profiled program. (more...)
Declare expected memory usage using method attributes
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...)
Include memory assertions in your unit testing
The testing can be fully automated by using a unit testing framework, such as NUnit or MSTest, and running the profiler in non-interactive mode.