Memory accounting at world entry on NVIDIA: what private bytes, commit and the working set count (RTX 4060 Laptop, 32 GB) #1244
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork#1244
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@j-fuxa on GitHub · 2026-11-26 01:41 UTC · original
Measurement notes, in case they help when memory numbers are compared (#54, #424, #689). Windows 11, RTX 4060 Laptop 8 GB, 32 GB RAM, measured at world entry on our tree.
Commit and private bytes
QueryWorkingSet's share count saturates at 7, so it cannot deduplicate. Walking the working set over the known views and counting each section page once does.Where the RAM goes
Why it may matter: a "private at N GB" comparison between switches on NVIDIA includes roughly 4 GB of VRAM textures, and neither the private nor the whole working set gives the title's section memory once. The touched-against-held window figures (roughly a third to a half) suggest an upper bound on what a finer window grid can save (#54).
Caveats: one machine, one scene. "Touched" means touched by a submission, not by a CPU access. Numbers are from our tree, not main.