Continuous memory growth and insufficient resource reclamation #1620
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by BlackBookOfficial on 2026-11-28T22:28:54Z.
I've been looking deeper into Victory's memory management and noticed some concerning behavior that deserves more attention from the community.
A significant amount of memory appears to be loaded or retained even when the associated resources are unmapped. Additionally, memory flushing and reclamation appear to be incomplete or insufficient, resulting in continuously increasing RAM usage throughout gameplay.
I suspect we are accumulating resources that are no longer actively used, including idle allocations, stale resource copies and potentially redundant backing memory.
Areas worth looking into
Why this matters
This may be more than just a high memory usage problem. Continuously accumulating unnecessary resources could contribute to:
The objective should not simply be to increase the pagefile, raise memory limits or introduce more aggressive allocation thresholds. We should aim to ensure that Victory only retains memory that is genuinely required and properly reclaims resources once they are no longer needed.
Community effort
I'd encourage everyone working on Victory, including developers using AI coding agents, to take a closer look at the entire memory lifecycle.
Rather than focusing exclusively on individual allocations or isolated memory leaks, it would be valuable to examine how allocation, mapping, residency, caching, unmapping, flushing and reclamation work together.
There could be substantial opportunities here to improve memory efficiency, long-session stability and potentially overall gameplay performance.
If you discover anything, implement a potential improvement or identify a problematic resource lifecycle, please share your findings here so we can collaborate instead of duplicating efforts.
Let's work toward solving the underlying memory management problems rather than continuously accommodating growing memory consumption.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T22:29:02Z.
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-30T15:41:43Z.
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.