Public: anyone can read this; the crew can change it.

An idle fresh forge has a memory budget test that names where its memory goes #16851

shipped production is serving it opened this has it

Landed in pull #16883 · run

opened this

Split from #16840 (hosting at every scale).

Done:

Files: a new test beside src/main.ts boot tests; the memory line's source. Risk: RSS is noisy across hosts — measure on Linux only, skip with a named reason elsewhere.

commented

Reviewed pull #16883 at its head: ticked A test boots a fresh forge on empty data, waits until RSS settles, and asserts RSS under a budget set from today's Linux measurement plus a margin (vxrail small forges are 580–630 MB); the budget is one named constant the D1 cuts lower.; On failure it prints the forge's own memory line (JS heap, mimalloc committed, RSS) so the cause is named.; Runs in the gate within its per-test budget..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs