diff options
| author | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-12-01 01:39:51 +0100 |
|---|---|---|
| committer | TheGeogeo <57634077+TheGeogeo@users.noreply.github.com> | 2026-12-02 04:42:48 +0100 |
| commit | aa75f13197627391579e7c282b353cfa85f466ff (patch) | |
| tree | 63381e5c24c7856bb8991cc4fe9cdee95856f0da /tests/test_run_gpu_tests_python_assembler.py | |
| parent | 8422def759cda12c89f918438eeb8d53dd5972a6 (diff) | |
gate: a memory stop ends a run before memory runs out (D3D12-GATE-MEMORY-STOP)
A memory pile-up has taken a PC's whole Windows down, not only the device, and a fixed 80 GB cap never
triggers on a PC with a 40 GB commit limit. The supervisor now asks `game_gate.py state` for a memory stop,
read from the runtime's latest memory lines: the game's private bytes past -StopPrivateMB (default 90 % of
this PC's commit limit), the PC under -StopCommitLeftMB left to commit for 20 s (default the larger of
128 MB and 0.25 % of the limit), or video memory over the system's budget for -StopOverBudgetSeconds (60).
0 turns one off. The run then stops the same clean way, with the reason `memory`; the limits go into
run.json and the summary, the limit passed into `stop.memory_why`, and the verdict is FAIL `memory_stop`.
`start` forwards the limits to the detached run.
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions