Skip to content

windows: add swap + lower job count to survive rustc OOM on CI#84

Merged
mdheller merged 1 commit into
mainfrom
fix-win-ci-mem
Jul 23, 2026
Merged

windows: add swap + lower job count to survive rustc OOM on CI#84
mdheller merged 1 commit into
mainfrom
fix-win-ci-mem

Conversation

@mdheller

Copy link
Copy Markdown
Contributor

Attempts 3 and 4 both died at exit 143 at the same crate cluster (neqo/mls-platform-api/icu) ~10 min into the Rust compile — 16GB-runner OOM even at -j4, since those rustc invocations are each multi-GB and 143 is cargo propagating an OOM-killed child.

  • 14G swapfile added before the build to absorb memory spikes
  • MOZ_BUILD_JOBS=3 in CI (script now honors the env; the 32-core sovereign builder keeps its nproc default)

Slower but should push through the heavy-crate cluster that's been the wall.

…exit 143)

-j$(nproc)=4 still OOM-killed the neqo/mls-platform-api/icu rustc cluster on
16GB runners (each of those is multi-GB; exit 143 = cargo propagating an
OOM-killed child). Add a 14G swapfile to absorb the spikes and expose
MOZ_BUILD_JOBS so CI can run -j3 while the 32-core sovereign builder keeps
its nproc default.
@mdheller
mdheller merged commit 9b52d5b into main Jul 23, 2026
@mdheller
mdheller deleted the fix-win-ci-mem branch July 23, 2026 13:22
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