16 GB RAM: OOM flood (0x8007000E) after 12-16 min, then device removed (0x887A0005) #4

Open
opened 2026-12-02 12:38:29 +00:00 by github-bot · 3 comments
Owner

@⁠dmmchh on GitHub · 2026-11-28 07:43 UTC · original

System

  • Windows 10 x64
  • Intel i7-6850K (6C/12T), 16 GB DDR4
  • NVIDIA RTX 2070 SUPER 8 GB, driver 610.88 (32.0.16.1088)
  • Game: own dump, GTA6.Xbox.v1.0.2.1, TitleID 7952987A, on SSD (F:)
  • Page files: 33 GB total on three SSDs (F: 13 GB, H: 15 GB, E: 5 GB)
  • Build: cloned 2026-11-28, cargo build --release --locked -p victory,
    D3D12Core 1.620.2 in target\release\D3D12
  • VICTORY_CACHE_DIR kept separate; pipelines pre-warmed with

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.

**@⁠dmmchh** on GitHub · 2026-11-28 07:43 UTC · [original](https://github.com/vix0e0e/VIctory-LITE/issues/4) System - Windows 10 x64 - Intel i7-6850K (6C/12T), 16 GB DDR4 - NVIDIA RTX 2070 SUPER 8 GB, driver 610.88 (32.0.16.1088) - Game: own dump, GTA6.Xbox.v1.0.2.1, TitleID 7952987A, on SSD (F:) - Page files: 33 GB total on three SSDs (F: 13 GB, H: 15 GB, E: 5 GB) - Build: cloned 2026-11-28, cargo build --release --locked -p victory, D3D12Core 1.620.2 in target\release\D3D12 - VICTORY_CACHE_DIR kept separate; pipelines pre-warmed with [lite2.log](https://github.com/user-attachments/files/35542174/lite2.log) [lite3.log](https://github.com/user-attachments/files/35542175/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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 12:38:30 +00:00
Author
Owner

@⁠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 cut SHARED GPU RAM by ~1.0–1.3 GB on 16 GB RAM. Please pull main, rebuild, and let us know if your 12–16 min sessions last longer now — we're also looking at porting normal_placed next for long-session RAM growth.

**@⁠vix0e0e** on GitHub · 2026-11-28 19:40 UTC · [original](https://github.com/vix0e0e/VIctory-LITE/issues/4#issuecomment-7244721275) 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 cut `SHARED` GPU RAM by ~1.0–1.3 GB on 16 GB RAM. Please pull `main`, rebuild, and let us know if your 12–16 min sessions last longer now — we're also looking at porting `normal_placed` next for long-session RAM growth.
Author
Owner

@⁠dmmchh on GitHub · 2026-11-29 01:14 UTC · original

感谢你提供的超详细的多次运行日志和诊断!在 v5()中,我们移植了安全空闲内存/显存配置(, ),这些配置在 16 GB 内存上可将 GPU 内存减少 ~1.0–1.3 GB。请下载、重建,并告诉我们你的 12–16 分钟会话现在是否更长——我们也在考虑下一步移植,以提升长会话内存增长。be4eeeb``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``SHARED``main``normal_placed

Thank you for your work.

**@⁠dmmchh** on GitHub · 2026-11-29 01:14 UTC · [original](https://github.com/vix0e0e/VIctory-LITE/issues/4#issuecomment-7248648935) > 感谢你提供的超详细的多次运行日志和诊断!在 **v5**()中,我们移植了安全空闲内存/显存配置(, ),这些配置在 16 GB 内存上可将 GPU 内存减少 ~1.0–1.3 GB。请下载、重建,并告诉我们你的 12–16 分钟会话现在是否更长——我们也在考虑下一步移植,以提升长会话内存增长。`be4eeeb``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``SHARED``main``normal_placed` Thank you for your work.
Author
Owner

@⁠dmmchh on GitHub · 2026-11-29 06:17 UTC · original

感谢你提供的超详细的多次运行日志和诊断!在 v5()中,我们移植了安全空闲内存/显存配置(, ),这些配置在 16 GB 内存上可将 GPU 内存减少 ~1.0–1.3 GB。请下载、重建,并告诉我们你的 12–16 分钟会话现在是否更长——我们也在考虑下一步移植,以提升长会话内存增长。be4eeeb``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``SHARED``main``normal_placed

Update after pulling v5.2 and applying the trims from your reply.

  • Build: main at e6ec6e8, rebuilt with cargo build --release -p victory. Binary reports build b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93.
  • 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.
  • Run: 21 minutes, manual exit, Series S profile, 1920x1080 display mode with 0.5 render scale.
  • Result: no 0x8007000E, no 0x887A0005, no device removal. Before the update it died at 12-16 minutes, so this looks fixed on my side.
  • FPS: boat section ~7 fps average; after landing on the island ~5 fps average. Frequent hitches.
  • VRAM from the log: vram_mb 6309-6370 of 7221 budget; shared_mb 4568-5490 of 7450; shadow_live_mb 3241-3976.
  • Hitches correlate with bursts of texture re-uploads through the slow path, e.g. several 4 MB uploads within ~2 s (slot=638105 and slot=445593, bytes=4194304) plus recurring 176 KB ones (slot=29046, slot=35706).
  • Other warnings: command queue slot 0xb8 not implemented; CopyForBVHUpdate left out because the BVH builder is off; CLWB emulated on this CPU.

Photo Log attached.

victory-log.txt

QQ_2026-11-29_13-46-57 QQ_2026-11-29_13-52-39 QQ_2026-11-29_13-56-30
**@⁠dmmchh** on GitHub · 2026-11-29 06:17 UTC · [original](https://github.com/vix0e0e/VIctory-LITE/issues/4#issuecomment-7251763895) > 感谢你提供的超详细的多次运行日志和诊断!在 **v5**()中,我们移植了安全空闲内存/显存配置(, ),这些配置在 16 GB 内存上可将 GPU 内存减少 ~1.0–1.3 GB。请下载、重建,并告诉我们你的 12–16 分钟会话现在是否更长——我们也在考虑下一步移植,以提升长会话内存增长。`be4eeeb``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``SHARED``main``normal_placed` Update after pulling v5.2 and applying the trims from your reply. - Build: `main` at `e6ec6e8`, rebuilt with `cargo build --release -p victory`. Binary reports build `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93`. - 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`. - Run: 21 minutes, manual exit, Series S profile, 1920x1080 display mode with 0.5 render scale. - Result: **no `0x8007000E`, no `0x887A0005`, no device removal**. Before the update it died at 12-16 minutes, so this looks fixed on my side. - FPS: boat section ~7 fps average; after landing on the island ~5 fps average. Frequent hitches. - VRAM from the log: `vram_mb` 6309-6370 of 7221 budget; `shared_mb` 4568-5490 of 7450; `shadow_live_mb` 3241-3976. - Hitches correlate with bursts of texture re-uploads through the slow path, e.g. several 4 MB uploads within ~2 s (`slot=638105` and `slot=445593`, `bytes=4194304`) plus recurring 176 KB ones (`slot=29046`, `slot=35706`). - Other warnings: `command queue` slot `0xb8` not implemented; `CopyForBVHUpdate` left out because the BVH builder is off; `CLWB` emulated on this CPU. Photo Log attached. [victory-log.txt](https://github.com/user-attachments/files/35564800/victory-log.txt) <img width="1834" height="1033" alt="QQ_2026-11-29_13-46-57" src="https://github.com/user-attachments/assets/bab7a9b5-9fb8-407d-af72-a4c5e88eb527" /> <img width="1834" height="1033" alt="QQ_2026-11-29_13-52-39" src="https://github.com/user-attachments/assets/1fc2c3a6-3ca1-40fb-b005-9f51489e91d3" /> <img width="1834" height="1033" alt="QQ_2026-11-29_13-56-30" src="https://github.com/user-attachments/assets/c0ea60bc-78a8-4194-bc00-e648f6328cd8" />
This discussion has been locked. Commenting is limited to contributors.
No description provided.