xmem: reserve low address space for 32-bit allocations #44
No reviewers
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/bymsec--victory-rx580!44
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-44"
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?
@jrdev95 on GitHub · 2026-12-04 14:56 UTC · original
jrdev95:fix/xmem-low-address-space→main· +140 −3 · 2 files · 1 commits · openProblem
At startup, the title requests a 185 MiB
XMemVirtualAllocreservation below 4 GiB (size=193986560,kind=0x42000,flags=0x7). The request can fail withERROR_NOT_ENOUGH_MEMORYwhen host or GPU driver allocations fragment that address range. This can happen even when the system has enough RAM and page file capacity, because the allocation needs one contiguous block in a constrained address range.Fix
run, before loading the game image, creating the GPU device, or opening shader caches.XMemVirtualAllocrequest fails, release guarded ranges one at a time and retry the allocation. Re-guard any parts that remain free afterward.This reserves virtual address space only; it does not commit RAM or page file capacity.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.