microsoft / gctoolkit

Tool for parsing GC logs
https://github.com/microsoft/gctoolkit
MIT License
1.25k stars 153 forks source link

Memory pool size data #285

Open ghost opened 1 year ago

ghost commented 1 year ago

It is unclear that the parsers are collecting the right data needed to support calculations such as Memory Pool Size % based on the number of regions allocated to Eden, to, archive, reserved and old space.

dsgrieve commented 1 year ago

I think the parser collects the right data, but then there is a calculation to turn the number of regions into a number of bytes based on region size. The trouble is that the value for regionSize might be zero. It might be better to just set the number of regions.

kcpeppe commented 1 year ago

I think there is a data structure to collect the region information. I'll drop more testing in here today if that is ok with you David.