mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4605] [Engine] DeepSeek auto RAM-store loading exhausts Windows commit headroom (128 GB RAM) #2086
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#2086
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 @Thymos2027 on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4605
Area
[Engine]
Desktop app, Terminal or source?
Source Python server with the official prebuilt dedicated DeepSeek engine. No local native-engine build or patch.
What happened
On Windows with 128GB RAM, loading IST-DAS2.25bpw with automatic RAM-store sizing left effectively no system commit headroom. The store selected 101.3GB; Windows logged event 2004 and the host began failing allocations. The server had printed ready, but no functional request was sent. I explicitly terminated the test tree to recover the machine; I did not capture a spontaneous engine-crash exit code.
The original event at 2026-10-29 19:23:30 local time (11:23:30 UTC) recorded:
That event had only 93,126,656 bytes of available commit. A postflight read-only query shows pagefile initial 4096MiB / maximum 8192MiB, system-managed=false; after recovery its allocated-size snapshot was4096MiB. Later runs had a 141.435GB commit limit, whereas this failure event had 145.730GB. I am not assuming the pagefile stayed fixed at 4GB throughout. No OS/pagefile/driver settings were changed.
Could the dedicated DeepSeek auto-store budget or preflight check account for available Windows commit and subsequent allocation headroom, in addition to available physical RAM, or give a targeted diagnostic before reaching this state? This is a report of the observed boundary, not a proposed universal 64GB default or a confirmed failing source line.
Smallest steps or command that reproduce it
These are the conditions of the one locally observed automatic-budget attempt, not a claim that every 128GB system fails:
Reproduction status
Observed locally once with the recorded automatic budget and event. No source-level root cause established. The process tree was deliberately terminated for recovery; no claim of 0xC0000409, deadlock, or a measured pagefile-size A/B.
Strata version
0.1.52-windows-x86_64-cuda-cuda13, BUILD commita42cc3d7df70, CUDA13.0, sm86/89/120.e2f9fce53017dd8c2318e3a5ce969b4bd00b64589bdf32355e8d4d691962e610.8857fb6c9a94c947f75e845b7e9abe74b97551c8(not the native engine build commit).Graphics card, memory and system
RTX5060 Ti16GB (16311MiB), driver 610.88; i7-12700,128GB DDR4; Windows11 10.0.26200; NVMe model storage. Desktop/IDE/browser remained open; the normal Qwen model was unloaded before each DeepSeek attempt.
Model, settings and independent workaround attempts
DeepSeek-V4.1-Flash-1017, ISTA-DASLab GSQ-RCO IQ2_XS / IST-DAS-2.25bpw;8K cap, Full quality (
--experts 6), vision off, DSpark auto (actually not loaded). Plain setup.py ISTA pack recipe and shipped profile, no dense overrides.--ssd-cache 80 --reserve-mib 1536; functional checks and first1K/4K pair completed, then our controller actively stopped at 94% commit (132.953/141.435GB). This is not a second observed OOM.--ssd-cache 64 --reserve-mib 1536; new functional gates,1K/4K each three times, and 36 requests over 1844.141s all completed; daily Qwen restoredThe64GB successful-run sampled system commit peak was 118.529GB. Its short-matrix decode medians were 7.1/7.2tok/s; first-content medians 9.7/19.3s. Some late continuous requests slowed down. Default-to-success changed both store and reserve; this is not a single-variable causal comparison or an optimal-budget claim.
Logs and complete evidence
A host command helper also reported:
Failed to load advapi32.dll: The paging file is too small for this operation to complete.Fixed-commit evidence: English report and configuration, event 2004 fields, automatic native log, all recorded args, HTTP requests and events. The evidence directory also contains per-request statistics,0.5s resource samples, source archives, failures, drift and an offline validator.
Passed: file/package integrity and pack-info; the independent64GB configuration's functional requests, six timing requests and 30m44s continuous run; restoration and offline HTTP/native-log consistency checks.
Failed/stopped: automatic attempt had the event and allocation failures;80GB attempt was guard-stopped. Neither is pooled into successful timings.
Not run: pagefile-size A/B, fixed-clock/thermal tests, source fix, actual8K input, concurrency, vision, forced DSpark, other OS/backends or overnight testing. Native log/preload GB values are engine estimates. The report documents two mutable-list aggregate-input artifacts; published actual inputs come from the independently saved per-request files. Preparation and analysis were assisted by Codex; the measurements and Windows event are locally recorded.
Related discussion
#1607 concerns earlier Qwen conversation/checkpoint commit admission; this report concerns the separate DeepSeek loading/store path and does not claim the same failing allocation. Its closure note allows a linked new issue with current evidence. #4362 addresses a different, greater-than-16K UMA context deduction; this 8K run is not a validation or counterexample of that PR.
@edt-xx commented on GitHub (Oct 29, 2026):
Also had problems with too much memory used. Loading the PLE table into ram was the problem and "--ple-io direct" fixed it, so the whole OS was not trying to run in ~3G of ram, paging and causing Signal 15 timeouts in the strata engine. Though there was suposed to be code leaving a ~10G buffer for the os? Is it being ignored here?
@Thymos2027 commented on GitHub (Oct 29, 2026):
Thanks. In this run
--ple-io ramwas not set, and the logs reported that DSpark was not loaded. The 101.3 GB allocation was the dedicated DeepSeek RAM store; Windows Event 2004 recorded only about 93 MB of system commit headroom at the failure boundary.So this appears different from a PLE table being held in RAM, although your question about whether the intended OS/commit reserve covers every large allocation is directly relevant here. The automatic attempt was also manually terminated for recovery, so I did not observe or claim a spontaneous Signal 15/OOM exit.
Which model, Strata/engine version, operating system, and effective
--ple-iosetting produced your Signal 15 case? A startup log line showing the PLE mode and memory budget would help determine whether the two cases share a budgeting path.