Freed copies are not kept 300 s once the process nears the PC's RAM (#234) #271

Open
github-bot wants to merge 1 commit from github-bot/gh-271 into main AGit
Owner

@⁠SpositoDouglas on GitHub · 2026-11-26 13:58 UTC · original
SpositoDouglas:ram/keep-freed-commit → main · +49 −2 · 1 files · 1 commits · open

Fixes #234 (the second option there, with one change to the threshold).

The problem

ram_idle_ms keeps freed copies (loose window copies, texture staging, the mapped pipeline library) for 300 s whenever the PC has 12 GiB of free RAM. It does not look at the process's own size. With VICTORY_RESIDENCY off (the default), nothing else does either. On a 32 GB PC with the renderer patches, the process passes the size of RAM within 4 minutes and Windows starts reading pages back from the page file (#146, #189).

The change

ram_idle_ms keeps the 300 s only while the process's private bytes are under 70 % of the smaller of the PC's RAM and its commit limit. Past that, the existing idle times by free RAM apply (10 s, 5 s, 2 s). 70 % is ram_band's Watch share. The numbers come from ram_sample(). If the query fails, nothing changes.

#234 suggested the commit limit alone. On this PC that is 80 GB (32 GB of RAM and a 48 GB page file), so the mark would be 56 GB, far past where paging starts. With the smaller of the two it is about 22 GB here. On the README's 64 GB PC it is about 45 GB, so the README's 30 GB keeps its copies as before.

Related: #206 turns on VICTORY_RESIDENCY=1 in play.ps1. With it, limited_host_ram() already stops the 300 s on PCs with 32 GB or less. This change also covers runs without residency and PCs above 32 GB that grow past 70 % of their RAM.

Measurements

PC: RX 9060 XT 16 GB (RDNA 4), AMD driver 32.0.32029.2010, Ryzen 7 5800XT, 32 GB RAM, 48 GB page file, Windows 11 26300.

Method:

  • c9c932c against c9c932c with this change, both --profile diag --features diagnostics.
  • play.ps1 settings (not -Safe), plus VICTORY_PORT_CONSTANTS/DESCRIPTORS/CBV/GUARD/JOURNAL=1.
  • VICTORY_SHADER_OPT=59. Without it this card hits the amdxc64.dll+0x861b9f compiler crash within 10 s to 2.5 min (#8, #44, #60).
  • Same save restored before each run; the title left standing after loading.
  • A 6-minute warm-up run first, not counted.
  • Process private bytes, working set and system page reads sampled every 10 s.
c9c932c this change
private, 3–6 min 32.8 GB 31.0 GB
private, 6–9 min 33.7 GB 32.0 GB
private, 9–12 min 35.5 GB 33.9 GB
private, 12–13.8 min 37.4 GB 35.4 GB
private, peak 38.3 GB 36.6 GB
page reads, 5–13.8 min (mean) 5,481/s 3,526/s

In the first 3 minutes the two are the same (20.4 against 19.8 GB), as expected: the mark is passed at about 2 minutes. Page reads vary a lot between samples; the first 3 minutes had more of them with the change.

Frame rates are not comparable: the scenes differed (median 5,156 against 4,079 draws a frame).

Limits:

  • One run each.
  • Both ended in the same RDNA 4 compiler crash (amdxc64.dll+0x861b9f), at 14 min 50 s and 13 min 46 s. The table covers the time both were running.
  • The cost of the change is copies made again after 10 s instead of 300 s. These runs do not separate that cost from the scene difference.

Testing

  • cargo test -p victory-gpu --lib -- ram_idle freed_copies: 3 passed. The new test covers the 70 % mark of the smaller number, the 32 GB + 80 GB and 64 GB cases, one or both numbers unknown, and no overflow.
  • cargo clippy -p victory-gpu --lib: no new warning (the one in watch.rs was there before).
  • Played in-game as described above.

Written with Claude Code (Claude Opus 5.5); tested by me on the PC above.

🤖 Generated with Claude Code

**@⁠SpositoDouglas** on GitHub · 2026-11-26 13:58 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/271) `SpositoDouglas:ram/keep-freed-commit` → `main` · +49 −2 · 1 files · 1 commits · open Fixes #234 (the second option there, with one change to the threshold). ## The problem `ram_idle_ms` keeps freed copies (loose window copies, texture staging, the mapped pipeline library) for 300 s whenever the PC has 12 GiB of free RAM. It does not look at the process's own size. With `VICTORY_RESIDENCY` off (the default), nothing else does either. On a 32 GB PC with the renderer patches, the process passes the size of RAM within 4 minutes and Windows starts reading pages back from the page file (#146, #189). ## The change `ram_idle_ms` keeps the 300 s only while the process's private bytes are under 70 % of the smaller of the PC's RAM and its commit limit. Past that, the existing idle times by free RAM apply (10 s, 5 s, 2 s). 70 % is `ram_band`'s Watch share. The numbers come from `ram_sample()`. If the query fails, nothing changes. #234 suggested the commit limit alone. On this PC that is 80 GB (32 GB of RAM and a 48 GB page file), so the mark would be 56 GB, far past where paging starts. With the smaller of the two it is about 22 GB here. On the README's 64 GB PC it is about 45 GB, so the README's 30 GB keeps its copies as before. Related: #206 turns on `VICTORY_RESIDENCY=1` in `play.ps1`. With it, `limited_host_ram()` already stops the 300 s on PCs with 32 GB or less. This change also covers runs without residency and PCs above 32 GB that grow past 70 % of their RAM. ## Measurements **PC:** RX 9060 XT 16 GB (RDNA 4), AMD driver 32.0.32029.2010, Ryzen 7 5800XT, 32 GB RAM, 48 GB page file, Windows 11 26300. **Method:** - `c9c932c` against `c9c932c` with this change, both `--profile diag --features diagnostics`. - `play.ps1` settings (not `-Safe`), plus `VICTORY_PORT_CONSTANTS/DESCRIPTORS/CBV/GUARD/JOURNAL=1`. - `VICTORY_SHADER_OPT=59`. Without it this card hits the `amdxc64.dll+0x861b9f` compiler crash within 10 s to 2.5 min (#8, #44, #60). - Same save restored before each run; the title left standing after loading. - A 6-minute warm-up run first, not counted. - Process private bytes, working set and system page reads sampled every 10 s. | | `c9c932c` | this change | |---|---|---| | private, 3–6 min | 32.8 GB | 31.0 GB | | private, 6–9 min | 33.7 GB | 32.0 GB | | private, 9–12 min | 35.5 GB | 33.9 GB | | private, 12–13.8 min | 37.4 GB | 35.4 GB | | private, peak | 38.3 GB | 36.6 GB | | page reads, 5–13.8 min (mean) | 5,481/s | 3,526/s | In the first 3 minutes the two are the same (20.4 against 19.8 GB), as expected: the mark is passed at about 2 minutes. Page reads vary a lot between samples; the first 3 minutes had more of them with the change. Frame rates are not comparable: the scenes differed (median 5,156 against 4,079 draws a frame). **Limits:** - One run each. - Both ended in the same RDNA 4 compiler crash (`amdxc64.dll+0x861b9f`), at 14 min 50 s and 13 min 46 s. The table covers the time both were running. - The cost of the change is copies made again after 10 s instead of 300 s. These runs do not separate that cost from the scene difference. ## Testing - `cargo test -p victory-gpu --lib -- ram_idle freed_copies`: 3 passed. The new test covers the 70 % mark of the smaller number, the 32 GB + 80 GB and 64 GB cases, one or both numbers unknown, and no overflow. - `cargo clippy -p victory-gpu --lib`: no new warning (the one in `watch.rs` was there before). - Played in-game as described above. Written with Claude Code (Claude Opus 5.5); tested by me on the PC above. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ram_idle_ms kept freed copies for five minutes whenever 12 GiB of RAM was
free, whatever the process's size. Now that keep needs the process's
private bytes under 70 % of the smaller of the PC's RAM and its commit
limit (ram_band's Watch share); past it the idle times by free RAM apply.
RX 9060 XT, 32 GB RAM: private 35.0 -> 33.2 GB over minutes 5-13.8,
peak 38.3 -> 36.6 GB, page reads 5,481 -> 3,526/s (one run each).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 14:00:52 +00:00
Author
Owner

@⁠copilot-pull-request-reviewer[bot] on GitHub · 2026-11-26 13:58 UTC · original · reviewed

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

**@⁠copilot-pull-request-reviewer[bot]** on GitHub · 2026-11-26 13:58 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/271#pullrequestreview-6075380875) · **reviewed** Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Author
Owner

@⁠SpositoDouglas on GitHub · 2026-11-26 14:21 UTC · original

A third run for comparison: c9c932c (without this change) with VICTORY_RESIDENCY=1, everything else as in the description (same PC, same save, play.ps1 settings, renderer patches 1, 2, 5, 6 and 7, VICTORY_SHADER_OPT=59).

c9c932c this change c9c932c + VICTORY_RESIDENCY=1
private, 5–13.5 min (mean) 34.9 GB 33.2 GB 31.2 GB
private, peak 38.3 GB 36.6 GB 33.8 GB
in RAM (mean) 18.6 GB 18.4 GB 19.7 GB
page reads (mean) 5,366/s 3,408/s 4,484/s
frames, median 6.6 fps at 5,156 draws 7.7 fps at 4,079 draws 7.8 fps at 5,826 draws
ended (RDNA 4 compiler crash) 14 min 50 s 13 min 46 s 13 min 31 s

On this 32 GB PC, residency saves about twice what this change does. With it on, limited_host_ram() already stops the 300 s here, so this change adds nothing in that case. It still applies to runs without residency (the default today) and to PCs above 32 GB.

So if VICTORY_RESIDENCY=1 becomes the default for 32 GB PCs (as #206 does in play.ps1), that is the bigger win for them, and this PR is the smaller fix for the rest. Your call whether it is still worth having.

Same limits as before: one run each, the scenes differed (so the frame row means "no worse", not a gain), and the pipeline cache was a little warmer for the third run.

**@⁠SpositoDouglas** on GitHub · 2026-11-26 14:21 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/271#issuecomment-7194695153) A third run for comparison: `c9c932c` (without this change) with `VICTORY_RESIDENCY=1`, everything else as in the description (same PC, same save, `play.ps1` settings, renderer patches 1, 2, 5, 6 and 7, `VICTORY_SHADER_OPT=59`). | | `c9c932c` | this change | `c9c932c` + `VICTORY_RESIDENCY=1` | |---|---|---|---| | private, 5–13.5 min (mean) | 34.9 GB | 33.2 GB | 31.2 GB | | private, peak | 38.3 GB | 36.6 GB | 33.8 GB | | in RAM (mean) | 18.6 GB | 18.4 GB | 19.7 GB | | page reads (mean) | 5,366/s | 3,408/s | 4,484/s | | frames, median | 6.6 fps at 5,156 draws | 7.7 fps at 4,079 draws | 7.8 fps at 5,826 draws | | ended (RDNA 4 compiler crash) | 14 min 50 s | 13 min 46 s | 13 min 31 s | On this 32 GB PC, residency saves about twice what this change does. With it on, `limited_host_ram()` already stops the 300 s here, so this change adds nothing in that case. It still applies to runs without residency (the default today) and to PCs above 32 GB. So if `VICTORY_RESIDENCY=1` becomes the default for 32 GB PCs (as #206 does in `play.ps1`), that is the bigger win for them, and this PR is the smaller fix for the rest. Your call whether it is still worth having. Same limits as before: one run each, the scenes differed (so the frame row means "no worse", not a gain), and the pipeline cache was a little warmer for the third run.
Author
Owner

@⁠PostKeysNdDoOne on GitHub · 2026-11-26 18:14 UTC · original

<html>

Tested VICTORY_KEEP_FREED=0 on a 32 GB host — results

Ran the experiment you suggested on a 31 GB usable / RX 7900 GRE / Series X dump machine, two sessions with everything else identical (VICTORY_RAM_CAP_GB=28, same dump, same build):

  | keep_freed on (default) | VICTORY_KEEP_FREED=0 -- | -- | -- process memory cap crossed private | 29,544 MiB | 28,840 MiB time from launch to cap crossing | ~3 min | ~20 s physical_free_mib at first pressure warning | 4,143 | 2,787 texture re-upload warnings in first ~90 s | ~200 | ~200+ (denser)

What it shows: disabling the idle retention does shave ~700 MiB off peak private memory, but it doesn't reduce system pressure — it hits the 28 GiB cap faster and the texture re-upload churn is at least as dense, if not worse. So on this machine the retention isn't the main lever: the ~10–15 GB gap between the working set and 32 GB of RAM is.

Caveats: one machine, one dump, two sessions. No 64 GB comparison, no VICTORY_MEMORY_MAP=1 breakdown. The capped pools (spare scratch 1 GiB, send 768 MiB, snapshots 512 MiB, idle lists 256 MiB, staging 8×64 MiB) and the title's own allocations look like the bulk, consistent with the audit's "no single unbounded leak" finding.

Conclusion for the PR/issue: the ram_idle_ms clamp you proposed is worth having for correctness, but based on this measurement it won't close the gap on a 32 GB host — the honest recommendation for 32 GB remains "64 GB recommended" until the working set shrinks. Happy to run VICTORY_MEMORY_MAP=1 and post the breakdown if that's useful.

</html>
**@⁠PostKeysNdDoOne** on GitHub · 2026-11-26 18:14 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/271#issuecomment-7200223225) <html> <body> <!--StartFragment--><p class="ds-markdown-paragraph" style="margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(21, 21, 23); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><strong style="font-weight: 600;"><span class="">Tested </span><code style="box-sizing: border-box; font-style: normal; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &quot;Cascadia Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Liberation Mono&quot;, &quot;JetBrains Mono&quot;, &quot;Fira Code&quot;, Cousine, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">VICTORY_KEEP_FREED=0</code><span class=""> on a 32 GB host — results</span></strong></p><p class="ds-markdown-paragraph" style="margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(21, 21, 23); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span class="">Ran the experiment you suggested on a 31 GB usable / RX 7900 GRE / Series X dump machine, two sessions with everything else identical (</span><code style="box-sizing: border-box; font-style: normal; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &quot;Cascadia Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Liberation Mono&quot;, &quot;JetBrains Mono&quot;, &quot;Fira Code&quot;, Cousine, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">VICTORY_RAM_CAP_GB=28</code><span class="">, same dump, same build):</span></p><div class="ds-scroll-area ds-scroll-area--show-on-focus-within ds-scroll-area--enabled _1210dd7 c03cafe9" style="--dsl-scroll-area-gutters-disappear-delay: 1s; z-index: 0; position: relative; overflow: auto; scrollbar-width: none; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(21, 21, 23); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; --container-height: 228px;"><div class="ds-scroll-area__gutters" style="--dsl-scroll-area-scrollbar-bg: #3c3c3d; --dsl-scroll-area-scrollbar-hover: #545557; pointer-events: none; z-index: 1000; transition: opacity 0.1s ease-out 1s; opacity: 1 !important; display: block; --container-height: 228px; position: sticky; top: 0px; left: 0px; right: 0px; width: 752px; height: 0px;"><div class="ds-scroll-area__horizontal-gutter" style="position: absolute; overflow-x: clip; left: 0px; right: 0px; display: block; top: 214px; height: 8px;"></div><div class="ds-scroll-area__vertical-gutter" style="position: absolute; overflow-y: clip; right: 3px; top: 3px; bottom: -225px; width: 8px;"></div></div>   | keep_freed on (default) | VICTORY_KEEP_FREED=0 -- | -- | -- process memory cap crossed private | 29,544 MiB | 28,840 MiB time from launch to cap crossing | ~3 min | ~20 s physical_free_mib at first pressure warning | 4,143 | 2,787 texture re-upload warnings in first ~90 s | ~200 | ~200+ (denser) </div><p class="ds-markdown-paragraph" style="margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(21, 21, 23); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><strong style="font-weight: 600;"><span class="">What it shows:</span></strong><span class=""> disabling the idle retention does shave ~700 MiB off peak private memory, but it doesn't reduce </span><em><span class="">system</span></em><span class=""> pressure — it hits the 28 GiB cap faster and the texture re-upload churn is at least as dense, if not worse. So on this machine the retention isn't the main lever: the ~10–15 GB gap between the working set and 32 GB of RAM is.</span></p><p class="ds-markdown-paragraph" style="margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(21, 21, 23); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><strong style="font-weight: 600;"><span class="">Caveats:</span></strong><span class=""> one machine, one dump, two sessions. No 64 GB comparison, no </span><code style="box-sizing: border-box; font-style: normal; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &quot;Cascadia Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Liberation Mono&quot;, &quot;JetBrains Mono&quot;, &quot;Fira Code&quot;, Cousine, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">VICTORY_MEMORY_MAP=1</code><span class=""> breakdown. The capped pools (spare scratch 1 GiB, send 768 MiB, snapshots 512 MiB, idle lists 256 MiB, staging 8×64 MiB) and the title's own allocations look like the bulk, consistent with the audit's "no single unbounded leak" finding.</span></p><p class="ds-markdown-paragraph" style="margin: 16px 0px; color: rgb(249, 250, 251); font-family: quote-cjk-patch, Inter, system-ui, -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, Cantarell, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(21, 21, 23); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><strong style="font-weight: 600;"><span class="">Conclusion for the PR/issue:</span></strong><span class=""> the </span><code style="box-sizing: border-box; font-style: normal; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &quot;Cascadia Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Liberation Mono&quot;, &quot;JetBrains Mono&quot;, &quot;Fira Code&quot;, Cousine, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">ram_idle_ms</code><span class=""> clamp you proposed is worth having for correctness, but based on this measurement it won't close the gap on a 32 GB host — the honest recommendation for 32 GB remains "64 GB recommended" until the working set shrinks. Happy to run </span><code style="box-sizing: border-box; font-style: normal; font-variant: normal; font-weight: 400; font-stretch: 100%; line-height: 22px; font-optical-sizing: auto; font-size-adjust: none; font-kerning: auto; font-feature-settings: normal; font-variation-settings: normal; font-language-override: normal; font-family: Menlo, Monaco, Consolas, &quot;Cascadia Mono&quot;, &quot;Ubuntu Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Liberation Mono&quot;, &quot;JetBrains Mono&quot;, &quot;Fira Code&quot;, Cousine, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, Courier, sans-serif, system-ui; background-color: rgb(44, 44, 46); border-radius: 6px; align-items: center; padding: 0px 5px; display: inline-flex; font-size: 0.875em !important;">VICTORY_MEMORY_MAP=1</code><span class=""> and post the breakdown if that's useful.</span></p><!--EndFragment--> </body> </html>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/271/head:github-bot/gh-271'
git switch 'github-bot/gh-271'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-271'
git switch 'github-bot/gh-271'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-271'
git switch 'github-bot/gh-271'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-271'
git switch 'main'
git merge --squash 'github-bot/gh-271'
git switch 'main'
git merge --ff-only 'github-bot/gh-271'
git switch 'main'
git merge 'github-bot/gh-271'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.