[16GB RAM] Memory exhaustion (0x8007000E) — physical RAM hits 98% during world play #1915

Closed
opened 2026-11-29 02:23:18 +00:00 by github-bot · 4 comments
Owner

@⁠ghost on GitHub · 2026-11-29 02:22 UTC · original

Environment

  • GPU: NVIDIA RTX 4060 Laptop 8GB, driver 32.0.16.2124
  • CPU: i7-13700H, 16GB RAM
  • OS: Windows 11 (10.0.26300)
  • Commit: 568c5e5 (main)
  • Mode: --console series-s

Symptom

The game now runs at ~12.4 fps in the world (up from "cannot enter" before
the recent shader-revert), then crashes with:
no host list for a state prelude error=0x8007000E (out of memory)

System state at crash (from the title's own Backtrace dump)

memory.load_percent = 98
system.memory.total = 16564280 (16.5 GB)
system.memory.free = 205912 (205 MB free)
system.memory.swap.total = 50118712 (50 GB page file)
system.memory.swap.free = 4530888 (4.5 GB free)

Analysis

Physical RAM is 98% full (only ~205 MB free), while the page file still has
~4.5 GB free. So this is not a commit-limit exhaustion — it is physical-RAM
pressure: the 16 GB of physical RAM cannot hold the title's working set, and
the layer's allocations then fail with 0x8007000E.

This is the recurring wall for 16 GB machines. The README lists 32 GB or
more; 16 GB users rely on the page file, which is too slow for the
per-frame copies, so the run degrades and then fails.

Request

Memory optimization for 16 GB systems: less physical-RAM pressure from
per-frame copies / texture residency (the memory-stack and levels-on-demand
work already help — the game went from "cannot enter" to ~12.4 fps — but the
run still exhausts physical RAM after a few minutes in the world).

Logs

  • Run log: victory-nvidia-20261129-101559.log (attached)

victory-nvidia-20261129-101559.log

**@⁠ghost** on GitHub · 2026-11-29 02:22 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1915) ## Environment - GPU: NVIDIA RTX 4060 Laptop 8GB, driver 32.0.16.2124 - CPU: i7-13700H, 16GB RAM - OS: Windows 11 (10.0.26300) - Commit: 568c5e5 (main) - Mode: --console series-s ## Symptom The game now runs at ~12.4 fps in the world (up from "cannot enter" before the recent shader-revert), then crashes with: no host list for a state prelude error=0x8007000E (out of memory) ## System state at crash (from the title's own Backtrace dump) memory.load_percent = 98 system.memory.total = 16564280 (16.5 GB) system.memory.free = 205912 (205 MB free) system.memory.swap.total = 50118712 (50 GB page file) system.memory.swap.free = 4530888 (4.5 GB free) ## Analysis Physical RAM is 98% full (only ~205 MB free), while the page file still has ~4.5 GB free. So this is not a commit-limit exhaustion — it is physical-RAM pressure: the 16 GB of physical RAM cannot hold the title's working set, and the layer's allocations then fail with 0x8007000E. This is the recurring wall for 16 GB machines. The README lists 32 GB or more; 16 GB users rely on the page file, which is too slow for the per-frame copies, so the run degrades and then fails. ## Request Memory optimization for 16 GB systems: less physical-RAM pressure from per-frame copies / texture residency (the memory-stack and levels-on-demand work already help — the game went from "cannot enter" to ~12.4 fps — but the run still exhausts physical RAM after a few minutes in the world). ## Logs - Run log: victory-nvidia-20261129-101559.log (attached) [victory-nvidia-20261129-101559.log](https://github.com/user-attachments/files/35561749/victory-nvidia-20261129-101559.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 02:23:18 +00:00
Author
Owner

@⁠squidfm on GitHub · 2026-11-29 02:30 UTC · original

i hit 28-29 out of my 32GB RAM. It certainly needs double than that because those remaining 3GB are occupied by the OS, that usually occupies more than 3.

**@⁠squidfm** on GitHub · 2026-11-29 02:30 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1915#issuecomment-7249472375) i hit 28-29 out of my 32GB RAM. It certainly needs double than that because those remaining 3GB are occupied by the OS, that usually occupies more than 3.
Author
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-29 02:36 UTC · original

Thanks for the detailed report. Some notes from our own RAM measurements (a 32 GB PC), and what on current main can be turned, hedged because none of it is a guaranteed fix on 16 GB.

Reading your log

  • The video memory as the system counts it lines show the card's own use and "the PC's shared with the card". The shared figure is system RAM that is pinned while the card uses it, so it is the number to watch on 16 GB. In your log it goes from 1941 MB to 7125 MB in about 14 s (budget 7427 MB), with the card's own use at about 5.9 GB of a 6.9 GB budget. That is roughly 7 GB of 16 GB pinned. On our PC the shared figure was about 8.2 GB: windows (host copies of title memory) about 4.4 GB, upload heaps about 2.4 GB, other host copies about 0.8 GB.
  • Part of "private bytes" is not RAM. About 6 GB of ours was backing store for card memory: committed, but with no physical pages.
  • Your single host memory pressure line (frame 3239) lists the small spares (mirror span 174 MB, staging 3 MB, scratch 13 MB). Those are not what holds your RAM, and the line is never followed by "cleared".
  • swap.total / swap.free in that dump may be the commit limit (RAM plus page file) and not the page file alone. If so, 4.5 GB left is close to the point where the layer already counts commit as tight (4 GiB), so we can't tell RAM from commit from this alone.
  • The attached log ends with a write to address 0 inside the title's code. The 0x8007000E line you quote isn't in it, so it may be in the crash log.

What exists on main today (all hedged, we haven't measured each one on a 16 GB PC)

  • VICTORY_PIPELINE_WORKERS: your launcher sets 12. Without it, machines up to 32 GB use three quarters of the logical processors, 2 to 8. Try -More @{VICTORY_PIPELINE_WORKERS='4'}. It costs slower first-time pipeline creation (draws are dropped until a pipeline exists). We can't say how much RAM it returns.
  • VICTORY_LEVELS_ON_DEMAND=1: the launcher sets 0, and the launcher script notes it is for sharpness. On, a texture takes card memory only for the levels the title holds. That frees card memory, which may keep less pinned in the shared budget on an 8 GB card. We haven't shown that. It is opt-in.
  • VICTORY_EXACT_POOL_MB (default 256 on up to 32 GB) and VICTORY_UPLOAD_POOL_MB (default 1024 per kind; already trimmed once pressure starts): lowering them is safe but small, a few hundred MB at most.
  • Not RAM levers: VICTORY_CARD_WINDOWS_MB (0 on your card; the CPU copy stays in RAM either way) and VICTORY_TEXTURE_ROOM_PERCENT (card side).

The biggest pieces, the windows, have no switch on main that shrinks them safely. We're looking at that separately, with no promise yet. Closing other apps before a run is probably the surest short-term help on 16 GB.

This was written with AI assistance (Claude Code).

**@⁠Jesper-Andersson** on GitHub · 2026-11-29 02:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1915#issuecomment-7249539074) Thanks for the detailed report. Some notes from our own RAM measurements (a 32 GB PC), and what on current main can be turned, hedged because none of it is a guaranteed fix on 16 GB. **Reading your log** - The `video memory as the system counts it` lines show the card's own use and "the PC's shared with the card". The shared figure is system RAM that is pinned while the card uses it, so it is the number to watch on 16 GB. In your log it goes from 1941 MB to 7125 MB in about 14 s (budget 7427 MB), with the card's own use at about 5.9 GB of a 6.9 GB budget. That is roughly 7 GB of 16 GB pinned. On our PC the shared figure was about 8.2 GB: windows (host copies of title memory) about 4.4 GB, upload heaps about 2.4 GB, other host copies about 0.8 GB. - Part of "private bytes" is not RAM. About 6 GB of ours was backing store for card memory: committed, but with no physical pages. - Your single `host memory pressure` line (frame 3239) lists the small spares (mirror span 174 MB, staging 3 MB, scratch 13 MB). Those are not what holds your RAM, and the line is never followed by "cleared". - `swap.total` / `swap.free` in that dump may be the commit limit (RAM plus page file) and not the page file alone. If so, 4.5 GB left is close to the point where the layer already counts commit as tight (4 GiB), so we can't tell RAM from commit from this alone. - The attached log ends with a write to address 0 inside the title's code. The `0x8007000E` line you quote isn't in it, so it may be in the crash log. **What exists on main today (all hedged, we haven't measured each one on a 16 GB PC)** - `VICTORY_PIPELINE_WORKERS`: your launcher sets 12. Without it, machines up to 32 GB use three quarters of the logical processors, 2 to 8. Try `-More @{VICTORY_PIPELINE_WORKERS='4'}`. It costs slower first-time pipeline creation (draws are dropped until a pipeline exists). We can't say how much RAM it returns. - `VICTORY_LEVELS_ON_DEMAND=1`: the launcher sets 0, and the launcher script notes it is for sharpness. On, a texture takes card memory only for the levels the title holds. That frees card memory, which may keep less pinned in the shared budget on an 8 GB card. We haven't shown that. It is opt-in. - `VICTORY_EXACT_POOL_MB` (default 256 on up to 32 GB) and `VICTORY_UPLOAD_POOL_MB` (default 1024 per kind; already trimmed once pressure starts): lowering them is safe but small, a few hundred MB at most. - Not RAM levers: `VICTORY_CARD_WINDOWS_MB` (0 on your card; the CPU copy stays in RAM either way) and `VICTORY_TEXTURE_ROOM_PERCENT` (card side). The biggest pieces, the windows, have no switch on main that shrinks them safely. We're looking at that separately, with no promise yet. Closing other apps before a run is probably the surest short-term help on 16 GB. This was written with AI assistance (Claude Code).
Author
Owner

@⁠Vixley8 on GitHub · 2026-11-29 20:08 UTC · original

im upgrading to 24gb of ram hoping it is enough ram is expensive these days

**@⁠Vixley8** on GitHub · 2026-11-29 20:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1915#issuecomment-7261844295) im upgrading to 24gb of ram hoping it is enough ram is expensive these days
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 15:39 UTC · original

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:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
**@⁠trustno1-coder** on GitHub · 2026-11-30 15:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1915#issuecomment-7283358366) 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](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/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: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#1915
No description provided.