Memory debugger suggestions

Hello,

I like the memory tab in the debugger for optimizing memory usage and there are some improvements that would make it a lot easier to use:

 

- Show the size as a readable string: If there are 71813968 bytes, show it as 71.81mb (or whatever the nearest unit is). I work with some really big collections and this would make it so much more readable.

- Similarly, add commas to the count so that 1336665 is 1,336,665

- Show the average object size for each row. If there were 5,000 objects using 500 bytes, it would be great if there was another column showing that each object is taking ~10 bytes.

0
2 comments

Hi, 

I've filed an issue for the first two suggestions: https://youtrack.jetbrains.com/issue/RIDER-64337. Please vote for it.

As for the third one, could you please describe your use case?

 

K.R.

Sofia

0

Thanks, use case for #3 is to check if improvements are lowing the object size. While debugging memory issues the user can reduce the total number of objects, or reduce the size of the objects themselves. In my own experience I end up doing totalObjects / totalSize in my head a bunch to see how improvements to object size are affecting the bytes used per object.

0

Please sign in to leave a comment.