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?

 

0
2 comments

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.

 

 

 

0

Thanks for the reply.

0

Please sign in to leave a comment.