Repository navigation
Conversation
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.
Release memory logs show process commit and cumulative placement totals, which can make old allocation traffic look like storage still retained.
VICTORY_MEMORY_BREAKDOWN=1adds an optional live-storage line to the existing once-per-second memory report, including scratch and its spare subset, other list uploads, idle snapshots, texture staging, system-memory GPU copies and CPU mirrors. It is off by default and works without the diagnostics feature.The existing counters keep their meanings. These categories overlap and do not reconcile all process commit; file-backed mirror capacity is not private commit, and idle snapshots exclude snapshots held by submissions. The snapshot helper only samples capacity under the existing pool lock. Allocation, reclamation, synchronization and rendering policies are unchanged.
Validation on release main
c71899d9/v2026.11.30.01:ec96efc816bf748fa448cca1000882d51b56873c07a7214a0a56042aa5949a11). A native Series X opt-in probe emitted the fields and helped distinguish a large private-memory total from the much smaller idle snapshot/scratch pools. That build also had local background audio, native file-backing and depth-fix test support, which are excluded from this PR.cargo check --locked -p victory-gpu --libpassed. A freshxtaskbuilt from that tree passedpolicy --stagedfor all three changed files;git diff --cached --checkalso passed. The normal check reports the pre-existing unusedShadow::rangedwarning.VICTORY_MEMORY_BREAKDOWN=0emitted zero breakdown events and 12 ordinary memory reports, then ended at its timer. The startup header confirmed the disabled flag.cargo testsuite was not run for this reporting-only change. No FPS, memory-saving or gameplay-rendering improvement is claimed for the diagnostic.The Windows CI check stopped at workspace Clippy before diagnostics or tests ran: unused
Lowered::loop_caps, two missingcard_passcapture arguments, and unusedShadow::ranged. The clean release-main check reports the same four errors. The affected shader file, GPU test and function bodies/signature are unchanged fromc71899d9; #4018 already addresses the missing test arguments. These upstream failures remain visible rather than being bundled into this reporting change.Overlap checked:
Only the two source files and the short
docs/windows-memory.mdexplanation are included. No game data, vendor binaries, local launch configuration or dependency changes are included.