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
Tag convention for test targets to reserve more RAM #14601
size | String "enormous", "large" "medium" or "small", default is "medium"; optional
...
Test sizes correspond to the following default timeouts and assumed peak local resource
usages:
...
Size | RAM (in MB) | CPU (in CPU cores) | Default timeout
small | 20 | 1 | short (1 minute)
medium | 100 | 1 | moderate (5 minutes)
large | 300 | 1 | long (15 minutes)
enormous | 800 | 1 | eternal (60 minutes)
That seems to show that users can never reserve more than 800MB for a test target.
As a result, Bazel will OOM when scheduling too many parallel local spawns for tests that need more than 800MB.
Activity
gregestren commentedon Feb 1, 2022
FYI https://docs.bazel.build/versions/main/exec-groups.html#using-execution-groups-to-set-execution-properties.
That's not a drop in replacement for this. It is a newer, more generic API intended to support broader resource needs.
I'd think about that API for whoever wants to address this.
brandjon commentedon Feb 10, 2022
Since it sounds like this request is superseded by by
exec_properties, I think we can close this FR.