RAM usage
Open
not stale
P2
team-Performance
type: feature request
- Dominant language
- Java
- Stars
- 25.8k
- Forks
- 4.6k
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 72
Description
It's annoying to have to slow a big build (ie tensorflow) right down with
`--jobs 1`
just for the odd job that is memory hungry, because Bazel isn't being smart about allocating work. Why can't the job scheduler just check the current RAM usage and only add a job if it's under the utilization limit? Then _if_ there's room it can add jobs until all cores are busy.
Contributor guide
Research direction
The issue does not name files, tests, or an entry point. Start by locating Bazel's job scheduler and its existing resource-limit behavior, then define how RAM utilization should affect job admission and validate it against a large build such as TensorFlow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100