victory play: warn at the start when a PC of at most 40 GB has under 20 GB of RAM free #4192
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!4192
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@RustyTheDalek on GitHub · 2026-11-30 17:16 UTC · original
RustyTheDalek:feat/low-free-ram-warning→main· +834 −824 · 33 files · 11 commits · closed without mergingWhat 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
@trustno1-coder on GitHub · 2026-12-01 18:46 UTC · original
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