Skip to content

Conversation

@stephanos
Copy link
Contributor

@stephanos stephanos commented Jan 19, 2026

What changed?

Follow-up to #9027

  1. Print memory stats to both file and stdout (new!)
  2. Print Go heap report once a memory threshold is reached (ie close to OOM kill)
  3. Add alloc_objects to Go heap report

See example:
Screenshot 2026-01-19 at 4 23 28 PM
(note that Go test output is buffered so they all appear mostly sequentially)

Why?

Gain ability to capture memory usage and Go heap report before an OOM kill.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

@stephanos stephanos force-pushed the mem-mon-v2 branch 5 times, most recently from 7d255ab to c74d4ee Compare January 19, 2026 23:10
@stephanos stephanos changed the title Improve memory monitor with pprof analysis Capture memory monitor report before OOM crash Jan 19, 2026
@stephanos stephanos marked this pull request as ready for review January 20, 2026 00:24
@stephanos stephanos requested review from a team as code owners January 20, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant