* Adjust memory usage for inactive file.
Inactive file can be reclaimed if necessary. But, croup
memory.usage_in_bytes shows a high value if the memory has grown and
does not need to be reclaimed. So, using that inflates the actual memory
usage.
Adjust usage by discounting reclaimable inactive file memory.
* generated protobuf
* clean up
* fix stupid mistakes, thank you @milos-lk
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>