In the new "Memory Allocator" page we have the column Max carrier size. We use the max value returned by the BEAM.
However, the :observer.start() set the max value since the page is shown (or since the observer started), not from the start of the BEAM. I think we can reproduce the same behaviour by keeping a list of the max value per row, in a similar way we do to calculate the reductions:
In the new "Memory Allocator" page we have the column Max carrier size. We use the max value returned by the BEAM.
However, the
:observer.start()
set the max value since the page is shown (or since the observer started), not from the start of the BEAM. I think we can reproduce the same behaviour by keeping a list of the max value per row, in a similar way we do to calculate the reductions:https://github.com/phoenixframework/phoenix_live_dashboard/blob/da3272dd4404981666fe2c433767fa7d9bff70ba/lib/phoenix/live_dashboard/system_info.ex#L47-L57
The question is, do we want that behavior? Or do we want an extra column?