16 GB RAM: OOM flood (0x8007000E) after 12-16 min, then device removed (0x887A0005) #4
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/vix0e0e--VIctory-LITE#4
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?
@dmmchh on GitHub · 2026-11-28 07:43 UTC · original
System
D3D12Core 1.620.2 in target\release\D3D12
lite2.log
lite3.log
Performance (F2 panel): 7.8-8.9 fps, FRAME 128-185 ms,
SUBMIT 67-74 ms, GPU BUSY 107 ms, DRAWS 5300-6000/frame,
VRAM 4.8/7.1 GB, SHARED 5.3 GB.
Problem
After 12-16 minutes of play the log floods with allocation failures,
then the device is removed and the run ends:
WARN victory_gpu::host: no upload buffer error=... (0x8007000E) size=67108864
WARN victory_gpu::host: no shared buffer error=... (0x8007000E) ...
ERROR victory_gpu::host: host GPU device removed after 1 submissions
sent ahead (VICTORY_RELAY=1) of 46 lists; no breadcrumbs
exit code 0x887A0005
Two runs, same machine, same scene:
Play-4GB-VRAM.cmd 15m43s 61,846 upload + 5,961 shared + 75 read-back
Play-4GB-VRAM.cmd 8gb 12m46s 69,959
The 8gb profile did not help - it died sooner. In the second run the
first failure is at 10m19s and the game keeps running (0.6-8 fps) for
another 2.5 minutes while every buffer request fails, until the driver
removes the device. It looks like something grows without bound rather
than the page file being too small (16 GB + 33 GB pagefile).
Expected: playable for at least an hour on 16 GB RAM with the
recommended 32-40 GB page file.
Full logs attached: lite2.log (default launcher), lite3.log (8gb profile).
Questions: is there a knob to cap that growth, or is this a known
leak? Happy to run anything you need.
@vix0e0e on GitHub · 2026-11-28 19:40 UTC · original
Thank you @dmmchh for the super detailed multi-run logs and diagnostics! In v5 (
be4eeeb) we ported safe idle RAM/VRAM trims (VICTORY_LIBRARY_IDLE_MS=15000,VICTORY_SNAPSHOT_POOL_MB=128,VICTORY_EXACT_TRIM=1,VICTORY_DSTORAGE_RAM_ACCOUNTING=1,VICTORY_SCRATCH_SPARE_MB=32,VICTORY_STAGING_SPARES=2,VICTORY_STAGING_PACK=1) which cutSHAREDGPU RAM by ~1.0–1.3 GB on 16 GB RAM. Please pullmain, rebuild, and let us know if your 12–16 min sessions last longer now — we're also looking at portingnormal_placednext for long-session RAM growth.@dmmchh on GitHub · 2026-11-29 01:14 UTC · original
Thank you for your work.
@dmmchh on GitHub · 2026-11-29 06:17 UTC · original
Update after pulling v5.2 and applying the trims from your reply.
mainate6ec6e8, rebuilt withcargo build --release -p victory. Binary reports buildb99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93.VICTORY_LIBRARY_IDLE_MS=15000,VICTORY_SNAPSHOT_POOL_MB=128,VICTORY_EXACT_TRIM=1,VICTORY_DSTORAGE_RAM_ACCOUNTING=1,VICTORY_SCRATCH_SPARE_MB=32,VICTORY_STAGING_SPARES=2,VICTORY_STAGING_PACK=1.0x8007000E, no0x887A0005, no device removal. Before the update it died at 12-16 minutes, so this looks fixed on my side.vram_mb6309-6370 of 7221 budget;shared_mb4568-5490 of 7450;shadow_live_mb3241-3976.slot=638105andslot=445593,bytes=4194304) plus recurring 176 KB ones (slot=29046,slot=35706).command queueslot0xb8not implemented;CopyForBVHUpdateleft out because the BVH builder is off;CLWBemulated on this CPU.Photo Log attached.
victory-log.txt