Process memory line: console section views no longer count as named private bytes #4205
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!4205
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@AirKyzzZ on GitHub · 2026-11-30 17:22 UTC · original
AirKyzzZ:fix/procmem-named-count→main· +1 −1 · 1 files · 1 commits · closed without mergingThe
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.@trustno1-coder on GitHub · 2026-12-01 18:45 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