victory play: warn at the start when a PC of at most 40 GB has under 20 GB of RAM free #4191
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4191"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by RustyTheDalek on 2026-11-30T17:16:07Z.
What it changes
victory playalready warns when RAM and page file together are under 52 GB (memory_warning). It does not look at how much RAM is free when the game starts, and on a 32 GB PC that decides how long the game plays before Windows starts paging it.On a Radeon RX 9070 XT with 32 GB of RAM and an 18 GB page file (so no
memory_warning), the process held 25-26 GB private once in the world, 9-10 GB of it the PC's memory shared with the card:With nothing else changed the second start just had less room. So
victory playnow says so before the start, on a PC of at most 40 GB of RAM with less than 20 GB free:victory_gpu::streamline::ram_free():GlobalMemoryStatusEx's available physical memory, besideram_and_page_files().free_ram_warning(total, free): the test above, printed aftermemory_warning's. It only warns: the start goes on, asmemory_warning's does.How it was tested
little_free_ram_is_said_on_a_32_gb_pc.cargo testpassed for the crates it touches: yes,cargo test -p victory -- play::. Clippy reports no warning on the lines this changes.Checked for overlap
🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:46:00Z.
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed