Process memory line: console section views no longer count as named private bytes #4204
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4204"
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 AirKyzzZ on 2026-11-30T17:22:47Z.
The
process memory:line computes "named" ascensus.private[0] + census.mapped[0] + oursand "unnamed" asPagefileUsage - named. The console section views (mapped[0]) are views of the title's pagefile sections, so they are not inPagefileUsageat all, and adding them hid that much of the unaccounted private memory.On a 16 GB / RTX 2060 rig at world load the line read "named 15638 MB, unnamed 1611 MB" with 7862 MB of console views, which looks like almost everything is accounted for. Without the views it is about 7.8 GB named and 9.5 GB unnamed, which is what actually needs explaining on small-RAM PCs (the process heaps held 1.7 GB in the same line, so most of it is neither ours nor the driver's heaps).
One-line change in
procmem.rs, the rest of the line is untouched.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:45:41Z.
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