Is it possible to get Maximum or peak memory usage from a unit test?
I can use dotMemory.Check(memory => memory.GetTrafficFrom(...) to get the total bytes allocated and collected during the test, but is it possible to get the peak memory usage?
Please sign in to leave a comment.
Hi!
Thank you for interesting in our products.
There is no such possibility for now. We've created feature request in our tracker: Implement possibility to get maximum memory usage between two memory checkpoints or/and in the whole profiling session interval : DMU-279 (jetbrains.com)
You're welcome to follow and vote for this ticket.
Thanks for the reply.