-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: resource is restricted by Bazel scheduler #12455
Comments
I can't reproduce this. Do you have anything in user.bazelrc or ~/.bazerc? |
The commits before two weeks ago are worked fine. So It might not be a problem on my environment. |
What if you don't specify --jobs? |
It may be caused by |
Yes I hit this also recently. On my underpowered laptop it decided to only run one job with this set. I haven't seen it as an issue on my bigger cloud machine. |
I've commented on this in Slack and at #1861 (comment). The behavior changed in Bazel 3.2.0 and any machine without much memory will scale back to a single CPU. I've had to override this setting in |
Build is not worked parallelly. We can find
[Sched]
and CPU is not fully used, so that it might be caused by Bazel scheduler behavior. This error can be found after this commit.The text was updated successfully, but these errors were encountered: