Crash on startup with message XMemVirtualAlloc refused #2882

Closed
opened 2026-11-29 18:34:38 +00:00 by github-bot · 5 comments
Owner

@⁠bagz99 on GitHub · 2026-11-29 18:29 UTC · original

Crash on startup with message:

WARN victory_hle::modules::xmem: XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=Not enough memory resources are available to process this command. (os error 8)
VIctory: first-chance exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284 (breakpoint cc 48 8b 05 1c 38 35 05 48 89 c1 48 89 f2 49)

Using v2026.11.29.02 with victory folder deleted beforehand.

victory-nvidia-play-20261129-182701-25752.log

crashes.log

GPU: RTX 5080
CPU: Ryzen 7 9800X3D
RAM: 32GB

**@⁠bagz99** on GitHub · 2026-11-29 18:29 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2882) Crash on startup with message: ``` WARN victory_hle::modules::xmem: XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=Not enough memory resources are available to process this command. (os error 8) VIctory: first-chance exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284 (breakpoint cc 48 8b 05 1c 38 35 05 48 89 c1 48 89 f2 49) ``` Using v2026.11.29.02 with victory folder deleted beforehand. [victory-nvidia-play-20261129-182701-25752.log](https://github.com/user-attachments/files/35579862/victory-nvidia-play-20261129-182701-25752.log) [crashes.log](https://github.com/user-attachments/files/35579864/crashes.log) GPU: RTX 5080 CPU: Ryzen 7 9800X3D RAM: 32GB
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 18:34:38 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 18:33 UTC · original

Two crashes are in your crashes.log. +0x247af2d is the start-up crash with non-16:9 sizes (your log shows 3440x1440); v2026.11.29.02 fixes it. The other: Windows refused a 6.5 GB memory reservation (XMemVirtualAlloc refused ... os error 8), and the crash at +0x1e6c284 follows from it. That one is still being looked into. Things that helped others: set the page file to "System managed size" and restart, close other large programs, or switch to the Series S profile in F1 (see #2832). v2026.11.28.03 does not have this crash.

**@⁠trustno1-coder** on GitHub · 2026-11-29 18:33 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2882#issuecomment-7260581867) Two crashes are in your crashes.log. `+0x247af2d` is the start-up crash with non-16:9 sizes (your log shows 3440x1440); [v2026.11.29.02](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.02) fixes it. The other: Windows refused a 6.5 GB memory reservation (`XMemVirtualAlloc refused ... os error 8`), and the crash at `+0x1e6c284` follows from it. That one is still being looked into. Things that helped others: set the page file to "System managed size" and restart, close other large programs, or switch to the Series S profile in F1 (see #2832). v2026.11.28.03 does not have this crash.
Author
Owner

@⁠HailLucifer666 on GitHub · 2026-11-29 18:49 UTC · original

This is the exact 6.09 GiB \TileHeap\ (\size=6538919936 kind=0x42000 flags=0x23) < 1 << 37\ VA fragmentation crash from #2356/#2339 — open PR #2723 fixes it strictly inside < 1 << 37\ via VA range bifurcation ([4..96 GiB)\ / [96..128 GiB)) + an early 16 GiB boot-time placeholder guard slab at \xmem::module()\ init. Would appreciate a boot test on your RTX 5080 if you're building from source!

**@⁠HailLucifer666** on GitHub · 2026-11-29 18:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2882#issuecomment-7260784019) This is the exact 6.09 GiB \TileHeap\ (\size=6538919936 kind=0x42000 flags=0x23\) \< 1 << 37\ VA fragmentation crash from #2356/#2339 — open PR #2723 fixes it strictly inside \< 1 << 37\ via VA range bifurcation (\[4..96 GiB)\ / \[96..128 GiB)\) + an early 16 GiB boot-time placeholder guard slab at \xmem::module()\ init. Would appreciate a boot test on your RTX 5080 if you're building from source!
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 19:58 UTC · original

Thanks for the logs. Your run looks like v2026.11.29.02. v2026.11.29.03 is out now with fixes on top of it, including the tree flickering. Please try it and let us know here whether this is fixed. If it isn't, attach the play log and crashes.log from the v2026.11.29.03 run. The first start rebuilds the shader cache, so judge the second run.

**@⁠trustno1-coder** on GitHub · 2026-11-29 19:58 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2882#issuecomment-7261711193) Thanks for the logs. Your run looks like v2026.11.29.02. [v2026.11.29.03](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.03) is out now with fixes on top of it, including the tree flickering. Please try it and let us know here whether this is fixed. If it isn't, attach the play log and crashes.log from the v2026.11.29.03 run. The first start rebuilds the shader cache, so judge the second run.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 20:37 UTC · original

This issue has the start-up crash where Windows refuses the game's 6.5 GB reservation (XMemVirtualAlloc refused size=6538919936 ... os error 8, then +0x1e6c284). v2026.11.29.04 is a build with only one fix aimed at exactly this crash.

We couldn't reproduce the real crash here, so it may not fix it for you. Please try it and tell us here whether the game now starts, and attach the play log and crashes.log either way. If the play log has a line with no room at first in the title's window, include that line; it tells us whether this was the cause.

**@⁠trustno1-coder** on GitHub · 2026-11-29 20:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2882#issuecomment-7262229500) This issue has the start-up crash where Windows refuses the game's 6.5 GB reservation (`XMemVirtualAlloc refused size=6538919936 ... os error 8`, then `+0x1e6c284`). [v2026.11.29.04](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.04) is a build with only one fix aimed at exactly this crash. We couldn't reproduce the real crash here, so it may not fix it for you. Please try it and tell us here whether the game now starts, and attach the play log and crashes.log either way. If the play log has a line with `no room at first in the title's window`, include that line; it tells us whether this was the cause.
github-bot 2026-11-30 23:48:22 +00:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 23:47 UTC · original

Closing this as a duplicate of #2081, which is the same problem. Everything posted here stays linked from #2081. Please add any new logs, details or test results there instead.

**@⁠trustno1-coder** on GitHub · 2026-11-30 23:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2882#issuecomment-7295524227) Closing this as a duplicate of #2081, which is the same problem. Everything posted here stays linked from #2081. Please add any new logs, details or test results there instead.
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#2882
No description provided.