Desktop hour baseline

Valid baseline, not an improvement or leak finding. GPT 6.1 Sol, medium, Codex harness. Collector built by Claude Opus 5.5; original proof preserved.

Large boat VM, 8 vCPU 16 GiB, 4aec277, Electron 44.10.1, 2026-11-13. One baseline. MiB; no improvement claim.

Workload and validity

Pump 2026-11-13T17:04:49.339Z to 2026-11-13T18:05:00.146Z; 3606.966 seconds. 1947 completed turns, none incomplete or stalled; 3 or 4 executing on 92.83% of ticks. Four free replay streams, 48 threads including eight real children. All 48 validation checks passed.

Database: 56,337,773 stored payload bytes, 3,894 assistant messages and 959,871 output characters during the soak (265.83 characters/s). These text characters are not asserted as protocol bytes. Four long stored HTTP representations: 31.6–32.0 MB each; bounded client responses 641,180–641,183 bytes and 30 messages each. Endpoint mounted eight timeline rows. No evidence for unvirtualized full-history rendering.

Process memory

MiB. RSS counts shared pages repeatedly; PSS is additive. Server is separate, unforced, sampled near client GC; no server snapshot or server heap attribution. DevTools, provider harnesses, build tools and server excluded from client totals. GC method: HeapProfiler.collectGarbage twice, then Runtime.getHeapUsage, then snapshots.

PhaseProcessRSS beforeRSS afterPSS beforePSS after
idleelectron-main325.46236.69240.46151.64
idlerenderer-app553.54455.78484.23386.31
idleserver353.52354.05281.29281.72
idlegpu173.68173.6897.3497.34
idleutility87.2687.2633.4933.46
idlezygote107.46107.4624.9724.96
after-openelectron-main250.29241.89162.58154.17
after-openrenderer-app643.64557.54569.62482.41
after-openserver631.01631.03557.16557.18
after-opengpu185.4185.4105.98105.98
after-openutility84.7384.3430.3830.0
after-openzygote107.46107.4624.8624.86
after-closeelectron-main245.64242.41157.89154.67
after-closerenderer-app637.12552.0564.43479.31
after-closeserver422.48422.48348.6348.6
after-closegpu186.06180.61108.05102.6
after-closeutility84.584.3430.1429.99
after-closezygote107.46107.4624.8524.85
after-soakelectron-main247.26244.17159.02155.93
after-soakrenderer-app976.59897.64905.04826.1
after-soakserver555.61555.2481.47481.06
after-soakgpu178.01177.38102.31101.68
after-soakutility84.284.229.6929.69
after-soakzygote107.46107.4624.8824.88

Actual heaps and retainers

Phase / processParsed self MiBV8 used after GC MiBLargest retainer MiB
idle / renderer263.83111.798.07
idle / electron-main45.9823.3211.79
after-open / renderer332.05168.068.07
after-open / electron-main47.0424.3811.79
after-soak / renderer535.84364.0883.55
after-soak / electron-main47.3424.6711.79

Idle renderer largest retainer: React DOM dev script 8.07 MiB; after-open 8.07 MiB, Effect script 7.41 MiB and RegistryImpl 7.08 MiB. Endpoint largest: context 83.55 MiB via onWindowFocus → scheduleComposerFocus. Its nested 73.94 MiB context overlaps; do not sum. Other nested paths include focusComposer, setOptimisticUserMessages and handleSwitchCheckoutToThread. Main largest retainer is its bundled source string, 11.79 MiB, stable across phases. Endpoint compiled-code class retained size 272.18 MiB and external string self size 151.45 MiB overlap with other class retained totals; no summation.

Ownership and release: unresolved

ChatView owns the window focus listener; its effect removes the listener and cancels animation frames on dependency change or unmount. focusComposer and scheduleComposerFocus are render-local closures exposed through useStableCallback. That hook updates a ref on every insertion effect and returns a stable callback created once. The graph proves reachability while ChatView is active, not historical-object age, duplicate listeners, or a leak. Shared lexical contexts can retain more than the named callback reads.

The existing close sample is about two seconds after navigating to a draft, before the raw thread snapshot five-minute idle TTL. Derived detail atoms have zero idle TTL. V8 falls only 1.32 MiB between open and close, but this does not test expiry. No after-close snapshot or post-hour closed/expired snapshot exists. Summary dominators identify an exclusively dominated graph, but do not identify obsolete projections, diffs or strings within it. Descendant identities, alternative root paths and same-process post-TTL survival remain unproven.

Two investigation directions, not proposed fixes

1. Determine whether the 83.55 MiB active ChatView closure graph contains historical render projections exclusively held through shared callback contexts. Ownership: ChatView and stable callback consumers, including lifecycle handlers. A context boundary could matter only if obsolete objects survive expiry and no other root retains them. Current data cannot establish savings from moving a callback.

2. Determine whether raw thread atom caches and consumers release after the five-minute idle TTL. RegistryImpl retained 7.08 MiB after opening, but registry ownership is expected and not a leak finding. Read-only lifecycle proof must distinguish active subscribers from expired history. No measured support yet for diff, terminal, or unvirtualized-message fixes.

Noise, normalization and missing parity

Renderer growth from after-close to endpoint: 197.34 MiB, 106280 bytes/completed turn and 215.58 bytes/output character. These are descriptive ratios, not a linear memory model or causal attribution. Compare fix at the same duration and normalize retained/output bytes too. Prior base/base noise: worst RSS 22.8%, PSS 10.1%, renderer post-GC V8 6.7%; short runs do not establish hour noise. Small changes require stronger repeats.

Web/production parity outstanding. Existing replay-turn-streams e2e is behavioral, not an attributed hour corpus memory comparison. The proven trial launcher and validator assume desktop main inspector; web sampler branch alone is unproven. Needed extension: repo launcher or built app, isolated seeded state, owned browser PID and app renderer identification, same corpus/stream and bounded-window accounting, forced-GC actual renderer heaps, separate server, and lifecycle preclose/post-TTL identity/subtree proof. Production assets must remove Vite module/source noise while preserving workload. Dedicated Harness role owns this extension; no parallel run was launched.

Cleanup and limits

Owned app process tree: zero survivors. Owned boat VM bx_brx723d9 deleted by exec; confirmed absent from boat list. No product changes, commits, paid turns, issues or PR actions. One desktop hour only. Raw heaps remain private and are not embedded or published. PostPlan uses fallback true-black colors because active client theme was unavailable.

0510152025303540455055606570minutes since the idle point02004006008001,0001,200MBbase 1,138 MBLarge boat VM; 4aec277; one 60min stream baseline; 2026-11-13. MiB. Minutes include setup. No improvement claim.Desktop client PSS after GC (Electron main, app renderer, GPU, utility, zygote)
role01230 idle; 1 open; 2 close; 3 hour01230 idle; 1 open; 2 close; 3 hour01230 idle; 1 open; 2 close; 3 hour0100200300MiBelectron-main050100150200MiBgpu02004006008001,000MiBrenderer-app0200400600MiBserver020406080MiButility020406080100MiBzygoteafterbeforeGCProcess RSS, before and after client GC (MiB)
0510152025303540455055606570minutes since the idle point050100150200250300350400MBbase 364 MBLarge boat VM, 8 vCPU 16 GiB, Linux, Electron 44.10.1, 4aec277, one full hour baseline, 2026-11-13; dev mode; no improvement claim. Runtime.getHeapUsage after two forced GCs. MB is MiB.V8 heap used after forced GC: app renderer
0510152025303540455055606570minutes since the idle point0510152025MBbase 24.7 MBLarge boat VM, 8 vCPU 16 GiB, Linux, Electron 44.10.1, 4aec277, one full hour baseline, 2026-11-13; dev mode; no improvement claim. Runtime.getHeapUsage after two forced GCs. MB is MiB.V8 heap used after forced GC: Electron main
0.00.20.40.60.81.01.21.41.61.82.0phase (idle=0, open=1, hour=2)0100200300400500MiBrenderer snapshot self 536 MiBrenderer V8 used 364 MiBelectron-main snapshot self 47.3 MiBelectron-main V8 used 24.7 MiBLarge boat VM, 8 vCPU 16 GiB, 4aec277, Electron 44.10.1, 2026-11-13. One baseline. MiB; no improvement claim. Snapshot file bytes are not heap. Parsed self includes external/native allocations.Parsed snapshot self size and V8 used after GC
role020406080MiBafter-openafter-soakidlephaseafter-openafter-soakidlephaseelectron-mainrenderer123rankLargest actual snapshot retainers (nested values overlap; never sum)
0510152025303540455055606570minutes since the idle point0100200300400500600700MBbase 481 MBLarge boat VM, 8 vCPU 16 GiB, Linux, Electron 44.10.1, 4aec277, one full hour baseline, 2026-11-13; dev mode; no improvement claim. MB is MiB.T3 server PSS at the same points (outside the client total)