Repository navigation
16 GB PCs with 8 GB cards: texture copies held to 1 GB, and a page-file warning where Windows sizes it - #3397
Open
Pierrot1398 wants to merge 2 commits into
Open
Pierrot1398 wants to merge 2 commits into
Pierrot1398 wants to merge 2 commits into
Conversation
… out The memory warning before a start said nothing where Windows manages the page file's size, and Windows makes that file larger only once a commit was refused: the moment the game stops. On a PC of 13.9 GB of RAM with an RTX 5060 Ti 8 GB and a system-managed page file, v2026.11.29.03 stopped with 0x8007000E at 22.5 GB committed and 684 MB left to commit (2026-11-29). With the page file at a fixed 40 GB (54 GB allowed) the same settings loaded the world about 1.5 minutes sooner and stopped with 20.6 GB still left to commit (the card and its shared memory full: a limit of its own, not this one). Where the size is Windows' own, the warning now reads what programs can have at the moment (streamline::commit_limit, ullTotalPageFile) and asks for a fixed size up to the 52 GB the fixed-size warning already asks for. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb
… of RAM On a PC of 13.9 GB of RAM with an RTX 5060 Ti 8 GB (a budget of the shared memory of 6,502 MB) every start ended with 0x8007000E at the end of the world's load, whatever the console, picture size or page file: the card full, the PC's memory shared with it at 6.5 to 6.8 GB, the RAM free under 300 MB (2026-11-29). The host copies of title buffers were what grew: from 4,855 to 5,567 MB in the last 5.6 s of one start, only 1,132 MB of them on the card, which the textures (3.4 GB) had filled. The copies the card cannot take stay in the PC's memory, the shared part of it. `VICTORY_TEXTURE_CAP_MB` caps the bytes of host copies of title textures: 1024 by default where `residency::small_host_ram` (under 24 GB of RAM), none elsewhere; 0 for none, or a number of MB. `room` refuses at it (before the floor), and a first upload (the black face fix) passes it by the allowance it passes the card's line by, no more. An explicit `VICTORY_TEXTURE_BUDGET_MB` still decides alone. Starts of the same save, Series S at 960x540 with DLSS, six minutes each: | texture copies held to | starts that passed the world's load | most shared memory | |---|---|---| | (no cap) | 0 of 4 | (stopped at 6.5 to 6.8 GB) | | 2 GB, with the face allowance | 0 of 4 | 6,654 to 6,758 MB | | 1.5 GB | 1 of 1 | 6,470 MB | | 1 GB | 4 of 5 | 5,666 to 6,108 MB (the fifth: 6,644 MB) | The start of five that still stopped had the same texture copies (1,212 MB) and the same buffer copies on the card (3,010 MB) as one that played on; its buffer copies in all peaked at 7,288 MB against 6,910: the load asks for some 400 MB more from start to start, and on this PC that is the margin. The buffer copies, not the textures, are most of what the load takes there. What is not known: how the picture looks with 1 GB of texture copies (the runs were unattended), and whether a PC of 16 GB whose RAM is all visible (this one gives some to its integrated GPU) needs as low a cap. A cap that follows the shared budget may suit both; one PC cannot say. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related: #944, #1915, #2453, #2523 (out of memory on 8 GB cards and 16 GB PCs). Not a full fix: see "What is still open".
What it changes
On a PC of 13.9 GB of RAM (Ryzen 7 5700G, whose integrated GPU takes part of 16 GB) with an RTX 5060 Ti 8 GB, every start of v2026.11.29.03 ended with
0x8007000Eat the end of the world's load: the card full, the PC's memory shared with the card at 6.5 to 6.8 GB of its 6,502 MB budget, the RAM free under 300 MB. Neither the Series S profile, a smaller picture, levels on demand nor a fixed 40 GB page file changed that.What grew there was the host copies of title buffers: 4,855 to 5,567 MB in the last 5.6 s of one start, only 1,132 MB of them on the card, which the texture copies (3.4 GB) had filled. A copy the card cannot take stays in the PC's memory, the shared part of it.
Two commits:
VICTORY_TEXTURE_CAP_MBcaps the bytes of host copies of title textures. It is 1024 by default whereresidency::small_host_ramsays so, and none elsewhere;0takes it off, a number of MB sets it.roomrefuses at the cap (before the floor). A first upload (the black-face fix) passes it by the allowance it already passes the card's line by, no more. An explicitVICTORY_TEXTURE_BUDGET_MBstill decides alone. The cap's bytes go to the buffer copies: about 3.0 GB of them were on the card with it, against 1.1 GB without.streamline::commit_limit,ullTotalPageFile) and asks for a fixed size up to the 52 GB the fixed-size warning already asks for. With a fixed 40 GB page file the world loaded about 1.5 minutes sooner, and that start stopped with 20.6 GB still left to commit.How it was tested
VICTORY_KEYS) and measured for 6 minutes.The start of five that still stopped had the same texture copies (1,212 MB) and the same buffer copies on the card (3,010 MB) as one that played on; its buffer copies peaked at 7,288 MB against 6,910 MB. The load asks for about 400 MB more from one start to the next, and on this PC that is the whole margin.
One more start, played by hand: 11 to 14 fps in the world, most textures there, some missing, faces without their expressions. It stopped at 8 minutes, when a later load pushed the shared memory to 6,758 MB.
cargo testpassed for the crates it touches: yes.victory-gpuresource::46 of 46,victoryplay::29 of 29, with 3 new tests. In the wholevictory-gpu --librun, 2 tests fail that this does not touch:shader_cache::tests::every_switch_of_the_translator_is_in_the_key(VICTORY_SCALAR_SPLITS is not read by the translator any more, onmainas well) andhost::menu::tests::a_change_is_saved_at_once_however_the_game_was_started(passes alone). Clippy finds nothing in the changed lines (mainhas warnings of its own elsewhere).What is still open
Checked for overlap
VICTORY_TEXTURE_MAX), not the bytes of all copies; 8 GB cards: no first uploads past the DXGI budget #1944, VIctory performance (RTX 5060 8 GB): submit thread, textures, and memory #2334 and 24% Less Shared GPU Memory (Window Growing + Card Memory Ledger) #2910 change other parts ofresource.rsandshadow.rs(first uploads past the budget, 8 GB tuning, windows in shared memory). None sets a byte cap on small hosts.🤖 Generated with Claude Code
https://claude.ai/code/session_011f6R3kMoarujHzzA1AvSBb