Spawning a lightweight early copy then forking cuts memory footprint ~30x
steipete · x · 2026-11-25
Peter Steinberger shares his workaround for slow process spawns when the parent holds lots of memory: in claw/node he spawns a lightweight copy very early and then uses it to fork, typically achieving a 30x smaller memory footprint. A practical response to the news that Codex made process spawning 800x faster.
More from coding & agent
- Antigravity v2.35.0 rolling out with a batch of developer-facing improvements — ShanRizvi · 2026-11-25
- 95,789 telemetry events reveal Theo's wild AI coding habits: 215 agent-days in 81 days — fekdaoui · 2026-11-25
- comment-block-transformer npm package applies transforms to Markdown comment blocks — DavidWells · 2026-11-25
- Latentroom: Free Open-Source Windows App Runs Qwen-Image 2.1 Locally on NVIDIA Cards — __smb · 2026-11-25
- Stripe's New APIs Answered 100,000+ Questions in a Day — Most From AI Agents — emilygsands · 2026-11-25
- T3 Code to go closed-source tonight as open-source AI coding tools spark trust debate — gethackteam · 2026-11-25