mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #60] OOM error with 16GB VRAM and 64GB RAM #34
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#34
Loading…
Add table
Add a link
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?
Originally created by @shanoor on GitHub (Sep 28, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/60
I tried to run swift1.5 iq2_xs and it doesn't load, I get an OOM error despite the machine having 16GB VRAM and 64GB RAM. I think it might related to the fact that Windows only gives 32GB of shared gpu memory to my GPU (I don't know why).
Log :
I'm using Windows 10
@itguy327 commented on GitHub (Sep 28, 2026):
similar issue here
@technerd-official commented on GitHub (Sep 28, 2026):
same here have a single 3090 with 64gb system ram and still cant get it to run. (ExpertCache: cudaMalloc failed: out of memory).
@Niko1221 commented on GitHub (Sep 28, 2026):
Thanks @shanoor - this is fixed as far as the engine can fix it, in v0.1.19.
The cause (not the 32 GB shared-memory figure; the engine copes with that by pinning in slices):
What 0.1.19 does:
The real fix on your PC: set the page file to System managed, then restart. The setting is under System > About > Advanced system settings > Performance > Advanced > Virtual memory. Then the cache can use all the free VRAM.
Could you update (
git pull, thenSTART-HERE.bat) and tell me whether it starts - with and without the page-file change? If it still fails, the lines the engine prints about the expert cache would help.@Niko1221 commented on GitHub (Sep 28, 2026):
@technerd-official @itguy327 - 0.1.19 retries with a smaller expert cache instead of stopping, and on Windows the real fix is setting the page file to "System managed" (see my comment above). If it still fails after updating, please say which OS you're on and paste the lines starting with
strata generate: expert cache.@technerd-official commented on GitHub (Sep 28, 2026):
ah okay thank you, I had to set pagefile to 0 because my SSD is already full with all these huge LLM models. Will try again after I allocate some more space on the SSD.
@Niko1221 commented on GitHub (Sep 29, 2026):
Closing: since 0.1.19 the engine retries with a smaller expert cache instead of stopping, and on Windows the page file needs room for the graphics driver (set it to "System managed"; setup warns when it is small). Thanks @technerd-official and @itguy327 - reopen if it still happens with some page file space.
@shanoor commented on GitHub (Sep 30, 2026):
I changed windows page file to system managed, same error. I then tried to force it to use between 4096 and 32768MB and still the same OOM error
Edit : well, by putting a 64GB limit on the pagefile, it works.