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
Commit 0602285
Browse filesBrowse the repository at this point in the historyBrowse files
fix: prevent Bazel OOM crash on CI runners (#1147)
* fix: prevent Bazel OOM crash on CI runners
- Add resource limits to all CI workflows' bazelrc configuration:
- Limit RAM to 6GB (GitHub Actions ubuntu-latest has 7GB)
- Limit CPUs to 2
- Limit parallel jobs to 4
- Reduce JVM heap to 2GB max
- Discard analysis cache after build to reduce memory pressure
- Add build output verification in adev.ts to detect silent failures
when Bazel server is killed mid-build
* fix: limit env scope to build step only
- Move _JAVA_OPTIONS and NODE_OPTIONS to build step env
- Remove startup options from bazelrc (use _JAVA_OPTIONS instead)
- Reduce local_ram_resources to 4096MB
- Reduce jobs to 2
0 commit comments