Skip to content

ci(release): cap btc/dgb Windows compile to -j 8 (VM217 pagefile-wall fix)#720

Merged
frstrtr merged 1 commit into
masterfrom
ci-steward/win-maxcpucount-cap
Jul 16, 2026
Merged

ci(release): cap btc/dgb Windows compile to -j 8 (VM217 pagefile-wall fix)#720
frstrtr merged 1 commit into
masterfrom
ci-steward/win-maxcpucount-cap

Conversation

@frstrtr

@frstrtr frstrtr commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Root cause (vm-fleet-steward): VM217 has a fixed 2GB pagefile. A 16-way MSVC parallel build of the heavy btc+NMC (and dgb+DOGE) TU set drives commit charge past the 32GB+2GB wall. The allocation failure surfaces as an orphaned MSBuild with no C####/LNK diagnostic -- the walled, no-compiler-error signature behind the 3 btc-Windows v0.2.1 failures.

Fix: cap the heavy Windows compile step to cmake -j 8 (maps to MSBuild /maxcpucount:8 on the VS generator; CMake does not add /MP, so this bounds concurrent cl.exe across projects and keeps committed memory under the wall). Conservative 8; tune up only if headroom allows. No reboot required -- this is the CI-lane half of the fix.

Scope: only the Build c2pool- Windows step. boost_sentinel (single small TU) and every per-coin source-presence guard left intact. No matrix / guard relaxation.

Validation: fresh release.yml dispatch coins=[btc] off this branch pending runner clearance (VM217 orphan being cleared by vm-fleet-steward).

… fix)

VM217 has a fixed 2GB pagefile. A 16-way MSVC parallel build of the heavy
btc+NMC (and dgb+DOGE) translation-unit set drives commit charge past the
32GB+2GB wall; the allocation failure surfaces as an orphaned MSBuild with
no C####/LNK diagnostic. Cap cmake -j (-> MSBuild /maxcpucount on the VS
generator) to 8 to bound concurrent cl.exe and keep committed memory under
the wall. Per-coin source-presence guard left intact.
@frstrtr
frstrtr merged commit 8bd91fe into master Jul 16, 2026
26 checks passed
@frstrtr
frstrtr deleted the ci-steward/win-maxcpucount-cap branch July 16, 2026 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant