Series X on 16 GB of RAM: smaller streaming heap (VICTORY_TILE_HEAP_MB) #264

Closed
github-bot wants to merge 2 commits from github-bot/gh-264 into main AGit
Owner

@⁠simoalanne on GitHub · 2026-12-02 22:35 UTC · original
simoalanne:opt/tile-heap → main · +132 −0 · 6 files · 2 commits · closed without merging

On Series X the title asks for a fixed ~12 GB at start, the same on every preset, and here all of it is pinned RAM (GTT) unless paged to the card. The biggest piece is its 6,236 MiB streaming heap, which it fills as a cache within a minute in the world. On a 16 GB PC that leaves about 150 MB of RAM free in play: swap at its cap, heavy stutter, and the global OOM killer ended the game once. Graphics settings and the new presets don't change this; they lower detail and card memory, not what the title allocates.

The title won't run with less than it asks for (handing it fewer pages makes it stop in System Init), so this changes the size it asks for:

  • VICTORY_TILE_HEAP_MB=<MiB> (1024–6236) patches the Series X heap size at load, byte-compared like the other loader patches. Series S is untouched.
  • run.sh defaults it to 3977 (Series S's size, which the title is known to live with) for Series X on hosts with 16 GB of RAM or less, next to the existing KEEP_FREE default for the same hosts. 6236 keeps the title's own. Menu entry and README rows included.

Measured on RX 9070 16 GB, Ryzen 7 5700X3D, 16 GB RAM, GTT 11 GiB, same save and spot where stock Series X was OOM-killed:

stock Series X heap 3977
run OOM-killed / heavy stutter full run
GTT in use 10.3–11.0 GiB 8.7 GiB
least free RAM 127–151 MB 1,808 MB
pages swapped in 206k–370k 41k
p99 / worst frame 150–238 / 431–576 ms 80 / 136 ms

It also makes the Series X-only options usable on 16 GB: FSR 4 balanced to 2560x1440 with VICTORY_UI_PLANE=3840x2160 and a 30 cap ran at 29.1 fps with ~1.5 GB of RAM free.

Cost: less room for what the title streams in. No pop-in or blurry textures noticed in play so far; 4500–5000 are in the menu for anyone who wants more room.

**@⁠simoalanne** on GitHub · 2026-12-02 22:35 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/264) `simoalanne:opt/tile-heap` → `main` · +132 −0 · 6 files · 2 commits · closed without merging On Series X the title asks for a fixed ~12 GB at start, the same on every preset, and here all of it is pinned RAM (GTT) unless paged to the card. The biggest piece is its 6,236 MiB streaming heap, which it fills as a cache within a minute in the world. On a 16 GB PC that leaves about 150 MB of RAM free in play: swap at its cap, heavy stutter, and the global OOM killer ended the game once. Graphics settings and the new presets don't change this; they lower detail and card memory, not what the title allocates. The title won't run with less than it asks for (handing it fewer pages makes it stop in System Init), so this changes the size it asks for: - **`VICTORY_TILE_HEAP_MB=<MiB>`** (1024–6236) patches the Series X heap size at load, byte-compared like the other loader patches. Series S is untouched. - **run.sh defaults it to 3977** (Series S's size, which the title is known to live with) for Series X on hosts with 16 GB of RAM or less, next to the existing `KEEP_FREE` default for the same hosts. `6236` keeps the title's own. Menu entry and README rows included. Measured on RX 9070 16 GB, Ryzen 7 5700X3D, **16 GB RAM**, GTT 11 GiB, same save and spot where stock Series X was OOM-killed: | | stock Series X | heap 3977 | |---|---|---| | run | OOM-killed / heavy stutter | full run | | GTT in use | 10.3–11.0 GiB | 8.7 GiB | | least free RAM | 127–151 MB | 1,808 MB | | pages swapped in | 206k–370k | 41k | | p99 / worst frame | 150–238 / 431–576 ms | 80 / 136 ms | It also makes the Series X-only options usable on 16 GB: FSR 4 balanced to 2560x1440 with `VICTORY_UI_PLANE=3840x2160` and a 30 cap ran at 29.1 fps with ~1.5 GB of RAM free. Cost: less room for what the title streams in. No pop-in or blurry textures noticed in play so far; 4500–5000 are in the menu for anyone who wants more room.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Presets lower detail and card memory, but the title asks for the same RAM on
every preset. On 16 GB hosts Series X now defaults to VICTORY_TILE_HEAP_MB=3977
(Series S's size); 6236 keeps the title's own. README rows for both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 22:38:35 +00:00
Author
Owner

@⁠kromka45 on GitHub · 2026-12-03 02:54 UTC · original

Tested - works

**@⁠kromka45** on GitHub · 2026-12-03 02:54 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/264#issuecomment-7365995622) Tested - works
github-bot closed this pull request 2026-12-03 15:31:17 +00:00
Author
Owner

@⁠simoalanne on GitHub · 2026-12-03 15:28 UTC · original

Replaced by the combined PR for 16 GB of RAM.

**@⁠simoalanne** on GitHub · 2026-12-03 15:28 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/264#issuecomment-7383195591) Replaced by the combined PR for 16 GB of RAM.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.