16 GB of RAM: Series S works by default, Series X can use Series S's heap #327
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!327
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-327"
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?
@simoalanne on GitHub · 2026-12-03 15:31 UTC · original
simoalanne:main→main· +226 −3 · 6 files · 4 commits · merged 2026-12-03 16:26 UTC16 GB of RAM: Series S works by default, Series X can use Series S's heap, and the README says how
On 16 GB of RAM the game runs, but it's tight, and today every 16 GB user finds that out alone (#213, #196, #199). The title allocates a fixed amount at start (about 12 GB on Series X, 7.8 GB on Series S), the same on every preset, and here all of it is pinned RAM unless paged to the card. This puts the fixes for that case together:
VICTORY_TILE_HEAP_MB, replaces #264). The title asks for a 6,236 MiB streaming heap on Series X and 3,977 MiB on Series S, and fills it as a cache. It won't run with fewer pages than it asks for, so the size Series X asks for is patched at load;3977gives it Series S's size. It's opt-in because Series X may stream more than Series S and count on the larger heap.This combines #291 and #289 (their commits are here unchanged, authorship kept) with the heap change and the README section, and replaces my #264. Merge either this or #291 and #289 separately; if this one is merged, they can be closed. Closes #66.
What it did on my machine (RX 9070 16 GB, Ryzen 7 5700X3D, 16 GB RAM, GTT 11 GiB):
VICTORY_TILE_HEAP_MB=3977Played by hand: Series X with the 3977 heap, FSR 4 balanced to 2560x1440,
VICTORY_UI_PLANE=3840x2160and a 30 fps cap ran at 29.1 fps with ~1.5 GB of RAM free; Series S at 1080p ran a steady 30 with ~2.5 GB free. I haven't noticed pop-in or blurry textures from the smaller heap so far.🤖 Generated with Claude Code
@lucalocastro on GitHub · 2026-12-03 22:18 UTC · original
@simoalanne, your 16 GB results gave me a follow-up question. With the Series X streaming heap fixed at
VICTORY_TILE_HEAP_MB=3977, how much more system RAM could we free by letting the game keep more pages in VRAM, and what would that do to frame times?I tested two ways of choosing which pages to move,
cscanand a bitmap-backed CLOCK-Pro variant, on the same seven synthetic access patterns. Both had a 512 MiB VRAM budget and the same migration limits. During continuous streaming,cscanserved 4,096 of 32,768 foreground accesses from VRAM without moving a single page. CLOCK-Pro served 2,304 and made 1,696 page moves. On longer bursts, CLOCK-Pro served 8,288 accesses from VRAM versus 4,064 forcscan, but made 1,776 moves versus 1,088. These were simulated accesses and migrations. We haven’t measured how much physical RAM this frees or whether the extra moves cause stutter in-game.I don’t have the game to test this myself. Would you be interested in a follow-up A/B test on your 16 GB machine? I’d keep the 3,977 MiB heap, save, route, graphics settings, and
cscanpolicy identical, and change only the VRAM budget for game pages, starting with 512 MiB versus 3,072 MiB. The two numbers I’d most like to compare are the lowest available system RAM and P99 frame time. VRAM and GTT usage, swap-ins, and the number of frames over 200 ms would help explain whether the higher budget gives us more RAM headroom without introducing new stalls.