Skip to content

Newer retail game: E_OUTOFMEMORY from video memory (CreateHeap 64 MB refused) at ~210 s on 6 GB VRAM #345

Backlog

Description

@josetrindade1

Game and package version

Newer retail game (game_scarlett_master.exe), Identity Name , version 930.048.020

What happens

The game starts, reaches its menus and runs at about 30 fps. Around 140-217 s
into the run (212-217 s in the last three runs) allocations start failing with
E_OUTOFMEMORY, apparently video memory:

  • CreatePlacedResourceX starts returning 0x8007000e (E_OUTOFMEMORY) for
    sampled textures ("a resource of its own"), 1243-1434 times per run.
  • Then the game hits its own assert (int3, 0x80000003) in game_scarlett_master.exe.
    In the first run rax/rcx/rsi were exactly 0x8007000e at the crash.

Run with XCL_VRAM_ARENAS=1 (same timing, ~212 s):

D3D12.X: CreateHeap(0x4000000 bytes, type 1, alignment 0x0, flags 0xc0)
refused (0x8007000e)
sparse windows: no video memory for more tiles (0x8007000E)

and the process then crashes inside the NVIDIA driver:
unhandled exception 0xc0000005 in nvwgf2umx.dll+0x85b227 (read at address 0x3c)

Without XCL_VRAM_ARENAS the logs only show the CreatePlacedResourceX failures;
I did not see the "sparse windows: no video memory" line there.

Context from the log: "console code so far: ... coherent 3998/4095 MB,
sparse 7445 MB, 214 blocks held for 214 allocators". The GPU has 5966 MiB of
VRAM, so the sparse windows plus the coherent window seem to ask for more than
the card can give.

What I ruled out: the Windows commit limit. Breakpad reported
swap.total 173851612 KB with 147994436 KB free at the crash (page files set to
~150 GB). Physical RAM was 16 GB at 96 % load, so I cannot rule out that it
contributes (shared GPU memory). Shader translation is fine:
failed_pipelines 0, fallback_pipelines 0.

What I expected: either that the memory fits, or that XCL fails the call in a
way the game survives. The game itself cannot recover from a failed texture.

Attached: reports and logs of one normal run and one run with XCL_VRAM_ARENAS=1
(user name removed from the paths).

XCL version

0.1.0, commit db1ddb2

GPU and driver version

NVIDIA GeForce GTX 1660 SUPER, 32.0.16.2124

Windows version

Windows 11 26H2 (26300.9974)

report.json and xcl.log

report.json
xcl.log

Console output


Activity

  1. added
    bug
    on Nov 24, 2026
  2. MonkeyPython commented on Nov 24, 2026

    @MonkeyPython

    Non-6 GB data point past 210 s: on a 12 GB card the video-memory OOM does not happen — the loading phase runs past the point where this issue's 6 GB card died, with no E_OUTOFMEMORY from video memory.

    Setup: Windows 11 Pro 26300, Ryzen 7 7800X3D, 32 GB, RTX 3080 Ti 12 GB (driver 621.01), main 508a0c7 (post-#288), release, XCL_NETWORK=0 + firewall, GTA VI Series 1.0.2.1, 3840×2160. Scripted menu walk (XCL_PRESS_AT) into loading; the run lasted 266 s (past this issue's ~210 s failure point) and ended in the #232 null write, not a memory failure.

    Result: zero CreatePlacedResourceX … 0x8007000e, zero CreateHeap(0x4000000 …) refused, zero sparse windows: no video memory in the whole log. The title's video-memory shape is coherent 3998/4095 MB, sparse 7445 MB, 99 blocks held for 98 allocators — the sparse 7445 MB fits in 12 GB (it does not fit in 6 GB: 7445 MB > 5966 MiB, this issue's own arithmetic). BCPack refusals reached 2048 (BC1 1764 / BC5 107 / BC6H 1 / BC7 176) as loading progressed.

    What did run out was system RAM, not VRAM: xcl private commit grew 14.8 → 39.5 GB between t=122 and t=274 on this 32 GB machine, free physical RAM fell to ~0.1 GB, and the window showed 0.0 FPS before the crash — the #542 shape. So on this host the binding memory constraint in loading is system RAM (DXC compile pressure), while video memory stays within the 12 GB budget.

    Not tested: 8 GB cards, other titles, whether the null write is related to the system-RAM pressure.

    AI use: Gentle Shell (Pi coding agent), model qwen4-max: ran the title with scripted input and wrote this report from the logs and memory samples; a human reviews it before posting. No code changes.

  3. added
    goal:world-load
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggoal:world-load

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions