You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Admission ignores the host's real memory pressure: a swapping worker still creates and warm-boots devices #1246
Load: CPU 100% busy (12 cores) · memory 10.9 GiB of 32.0 GiB available · swap 14.0 GiB used · pressure warn
Capacity ios: managed 2/6, running 2 + 0 reserved/6, warm 2
RAM budget: 3.00 GiB/28.00 GiB used
warm pool: enabled ... iPhone 17 / 27.0 / full learned wanted 2 ready 2
Load average was 550–610 and swap went from 18 GiB to 27 GiB over the morning. Most of the memory was other work on the machine (Xcode builds, local stacks, agents) that simlock does not own. The RAM budget is "total RAM minus 4 GiB" and counts only Simlock's own devices, so it said 3 of 28 GiB used, and 4 more iOS slots were open.
On a 16 GiB worker the same shape showed up as boot failures instead. While one xcodebuild and a few microVMs ran, every new full simulator hit BootTimeoutError (about 230 s), with 14 devices created and deleted in 20 minutes, and the queue kept retrying.
What I expected
A way to make admission respect the host's real state, for example:
capacity.config.admission.memoryPressure: "warn" | "critical": create or boot no new device (warm pool included) while the measured pressure is at or above this level. Leases on running devices continue. A waiting request says why (as in A waiting request says why it is not placed, on a worker #636).
Agents share these Macs with builds. A RAM budget that is blind to everything else lets the warm pool add load to a machine that is already swapping, so the whole host slows down, not only the simulators.
Workaround today
warmPool.enabled false and a huge ramBudget.iosBytesPerDevice turn iOS off on that worker (ios.maxDevices refuses 0, and drain needs a gateway). Nothing scales down with load.
Activity
V3RON commentedon Nov 6, 2026
Being specified in #1355. This issue stays open until that feature ships.
Written by an agent.
github-actions commentedon Nov 6, 2026
Shipped as #1355.