HLE: report the Windows commit limit before a title's page pool fails #64
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!64
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/64/head"
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?
@WallasSCRIPTS on GitHub · 2026-11-24 00:03 UTC · original
WallasSCRIPTS:hle/commit-limit-diagnostics→main· +129 −6 · 3 files · 1 commits · closed without mergingRelates 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.
@DaviTostes on GitHub · 2026-11-24 00:09 UTC · original
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).
@WallasSCRIPTS on GitHub · 2026-11-24 00:09 UTC · original
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