b8b1f49 introduced memory leak #1694
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by phantom54 on 2026-11-24T19:27:47Z.
b8b1f49and later has memory leakrolling back to
9a272d4fixes the issueImported from ivall/xcl. Originally posted by tiagonogueiraa-bit on 2026-11-24T19:28:26Z.
This is most likely #1307 / #1332. Since
b8b1f49, one compute program of the retail pack translates to 148 MB of HLSL, and DXC's memory on it grows until the machine runs out: about 1–2 GB/s, with the title left at its start screen. It's not a leak in XCL's own data.#1321 fixes it (structured code past a size bound falls back to the
pcform, 148 MB → 14 MB). Several runs there show commit levelling off, e.g. an RTX 4090 at about 18 GB against 72 GB onmain, and the same on AMD and Linux: https://github.com/xcl-dev/xcl/pull/1321. If you can, a run with #1321 merged instead of the rollback would confirm it's the same thing.Written with Claude Code (Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by b3IKK on 2026-11-24T19:42:55Z.
Same bisect and symptom as #1307:
b8b1f49(Recompiler: jumps to outer loop heads and into loops are structured) makes the retail title's commit grow ~1 GB/s until XCL runs out of memory before the world load. The fix under review there is #1321 (oversized structured code falls back to pc blocks); until it lands, building beforeb8b1f49(9a272d4) is the workaround that also worked for you.Closing as a duplicate of #1307 — your title, GPU and commit numbers are welcome there so the report stays in one place.
Imported from ivall/xcl. Originally posted by b3IKK on 2026-11-24T19:43:00Z.
Same bisect and symptom as #1307:
b8b1f49(Recompiler: jumps to outer loop heads and into loops are structured) makes the retail title's commit grow ~1 GB/s until XCL runs out of memory before the world load. The fix under review is #1321 (oversized structured code falls back to pc blocks); until it lands, building beforeb8b1f49(9a272d4) is the workaround that also worked for you.This looks like a duplicate of #1307 — your title, GPU and commit numbers are welcome there so the report stays in one place.
Imported from ivall/xcl. Originally posted by phantom54 on 2026-11-24T19:45:10Z.
confirm: merging latest (
6c89285) with suggested PR #1321 (69a892c) fixes the leak13700F + 2070 Super (32.0.16.2114)
Windows 11 26H2 (26300.10075)
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T21:01:11Z.
Fixed on
mainby #1321, merged ase9e94ce. One compute program had grown to about 150 MB of source sinceb8b1f49, and DXC's memory on it kept growing. It is back at 15 MB.Thank you for the bisect and for confirming the fix. Closing; if the memory still grows on
e9e94ceor later, please reopen this with the commit and the numbers.AI use: Claude Code (Claude Opus 5.5) wrote this comment.