JetBrains Rider 2023.3 Help

Monitor memory with dotMemory Unit

JetBrains Rider allows you to check your code for all kinds of memory issues right from your unit tests using JetBrains dotMemory Unit.

To enable memory tests, install the JetBrains.DotMemoryUnit NuGet package and reference it in your unit test project.

As soon as you reference the dotMemory Unit Testing Framework, JetBrains Rider will add Run under dotMemory Unit Run under dotMemory Unit Ctrl+;, M to other unit testing actions, so that 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, refer to Unit Testing and Memory Profiling: Can They Be Combined?

Last modified: 18 March 2024