ReSharper Help

Monitoring Memory with dotMemory Unit

If you have ReSharper Ultimate license, you can check your code for all kinds of memory issues right from your unit tests using JetBrains dotMemory Unit.

When dotMemory is enabled, the Reference dotMemory Unit Framework icon_reference_dm_unit command appears together with Run Unit Tests toolbar__run_selected_tests / Debug Unit Tests uts_toolbar_debug_selected_tests commands in the editor and in the Solution Explorer. You can use this command to automatically install the dotMemory Unit Testing Framework as a NuGet package and reference it in your unit test project.

As soon as you reference the dotMemory Unit Testing Framework, you will be able to make your unit tests pass or fail depending on memory traffic, presence of specific objects in memory, and other factors. For more information, see Unit Testing and Memory Profiling: Can They Be Combined?

See Also

Last modified: 21 September 2015