dotnet/diagnostics

[Feature Request] Sort SOS DumpHeap by object count

noahfalk opened this issue · 0 comments

When customers are debugging memory issues they will often compare the output of SOS !DumpHeap from multiple dumps to determine which object types have growing memory over time. When doing this sometimes it would be more useful to see the objects with the highest count of objects rather than the most total bytes. It would be handy if DumpHeap had some argument that sorted the output list by object count.