b8b1f49 introduced memory leak #1704
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#1704
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?
@phantom54 on GitHub · 2026-11-24 19:27 UTC · original
b8b1f49and later has memory leakrolling back to
9a272d4fixes the issue@tiagonogueiraa-bit on GitHub · 2026-11-24 19:28 UTC · original
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: #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).
@b3IKK on GitHub · 2026-11-24 19:42 UTC · original
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.
@b3IKK on GitHub · 2026-11-24 19:43 UTC · original
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.
@phantom54 on GitHub · 2026-11-24 19:45 UTC · original · edited 2026-11-24 20:07 UTC
confirm: merging latest (
6c89285) with suggested PR #1321 (69a892c) fixes the leak13700F + 2070 Super (32.0.16.2114)
Windows 11 26H2 (26300.10075)
@ivall on GitHub · 2026-11-24 21:01 UTC · original
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.