HLE: report the Windows commit limit before a title's page pool fails #64
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/64"
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?
Imported from Marvisak/VIctory. Originally posted by WallasSCRIPTS on 2026-11-24T00:03:19Z.
Relates to #23.
What
xmemmaps the title's 6.5 GiB pagefile-backed section and commits thewhole view with one
VirtualAlloc(MEM_COMMIT). When the Windows paging filecannot cover it,
commit()logged only a WARN; the title then stops on itsown
0x80000003breakpoint, which reads like a crash rather than a hostlimit.
K32GetPerformanceInfo.victory runprints the available commit and the limit, and warns below7 GiB of headroom before loading the title.
the shortfall, and the paging-file change that fixes it.
file.
Verification
cargo test -p victory-hle: 82 passed, 1 failed. The failure ismodules::display::tests::sdr_and_display_deferrals(0x80070032),reproduced on the unmodified checkout too — no display device here.
cargo clippy -p victory-hle -p victory --all-targets: clean.cargo build --profile diag -p victory --features diagnostics: links;victory.exe --helpruns.No game data and no small-pagefile host here, so the warning path is
verified by the API-reading test, not by a live run that hits error 1455.
Imported from Marvisak/VIctory. Originally posted by DaviTostes on 2026-11-24T00:09:08Z.
Tested
6bf8032stacked on #39 on Arch Linux x86_64, rustc 1.98.1: pass (no regression only).cargo test --workspace: 155 passed, 0 failed, 3 ignored; merge with #39 clean.xmem.rsarea with the same goal (report the commit limit before the title's page pool fails); the two should be merged into one shape.AI-assisted (DeepSeek V4.1 Flash coding agent).
Imported from Marvisak/VIctory. Originally posted by WallasSCRIPTS on 2026-11-24T00:09:57Z.
Closing this in favour of #51, which covers the same failure: the requested
size, the system commit charge and limit, paging-file guidance, and the
README requirement — and also appends the report to
crashes.log, whichthis PR does not. One PR per issue is enough.
The one piece here that #51 does not have is a startup preflight:
victory runprinting available commit and the limit, warning below 7 GiB ofheadroom before the title loads. I have left that as a suggestion on #51;
the branch
hle/commit-limit-diagnosticson my fork keeps the code if itis wanted.
Pull request closed