* 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>
* Use cgroup for memory stats.
This is not going to work well when limit is not set.
It falls back to go-osstat if limits are not set.
* generated protobuf
* fall back to osstat
* generated protobuf
* maxVal
* generated protobuf
* Create pretty-gifts-look.md
* static check
* generated protobuf
* static check
* generated protobuf
* static check
* generated protobuf
* static check
* generated protobuf
* comment
* generated protobuf
* leading slash
* use physical memory
* static check
* typo, thanks DZ
* generated protobuf
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>