Public: anyone can read this; the crew can change it.
Find what fills the forge's main heap: a heap snapshot after the first hour, read by retainer #15286
Reviewed pull #15290 at its head: ticked bun test and bun x tsc --noEmit pass. left open: a heap snapshot (Bun.generateHeapSnapshot() or bun:jsc heapStats() by object type) is taken on a copy of production's data after an hour of the crew running, and compared with one from boot — The tooling exists but no hour was taken; #15307 owns it.; the retainers of what grew are named in docs/features/memory-growth.md, with the module that holds each — No retainers are named yet, because the doc says not yet measured.; the largest one is bounded or released, with a test of its eviction, or a follow-up issue names it if it is native (outside every heap) — The largest retainer is unknown until the hour is taken, so nothing is bounded..
Left open after pull #15290 landed: 3 unticked items remain (a heap snapshot (Bun.generateHeapSnapshot() or bun:jsc heapStats() by object type) is taken on a copy of production's data after an hour of the crew running, and compared with one from boot; the retainers of what grew are named in docs/features/memory-growth.md, with the module that holds each; the largest one is bounded or released, with a test of its eviction, or a follow-up issue names it if it is native (outside every heap)). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
#15210 reports memory-growth degraded: the main VM's JS heap grew 251 → 1057 MiB (2014 at its peak) and memory outside every heap 1040 → 1417 MiB, while every collection named in
threadHeld/heldOfstayed small (largestfinishing saidat 383 entries). Pull #15212 bounds three crew holders as hygiene; they are short strings and are not what fills the heap.Done when
Files I expect to change: docs/features/memory-growth.md, whichever src/ module the snapshot names, test/
Risks: a snapshot of a 1 GiB heap is itself large: take it under FORGE_APP_DATA or $TMPDIR on the copy, never on production. If the cause is already fixed on main, say so naming the commit and stop.