Skip to content
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

Bazel makes me feel bad about having only 20GB of disk free. #25

Closed
bolinfest opened this issue Mar 24, 2015 · 2 comments
Closed

Bazel makes me feel bad about having only 20GB of disk free. #25

bolinfest opened this issue Mar 24, 2015 · 2 comments
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug

Comments

@bolinfest
Copy link

When I run with --help:

/Users/mbolin/src/bazel$ ./output/bazel --help
WARNING: build volume / is nearly full (5235527 inodes remain).
WARNING: build volume / is nearly full (21.4GB remain).
                                                     [bazel development version]

Or the version subcommand:

/Users/mbolin/src/bazel$ ./output/bazel version
WARNING: build volume / is nearly full (5235535 inodes remain).
WARNING: build volume / is nearly full (21.4GB remain).
Unrecognized option: --javabase=/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home

Bazel's first instinct is to tell me that I only have 21.4GB free. How much disk space do I have to free up to get Bazel to stop belittling my hard drive?

@hanwen
Copy link
Contributor

hanwen commented Mar 24, 2015

See https://github.com/google/bazel/blob/master/src/main/cpp/blaze.cc#L1532

I suppose we could hardcode some other threshold, but I'm not sure what it should be.

@damienmg damienmg added type: bug P2 We'll consider working on this in future. (Assignee optional) labels Mar 26, 2015
@lberki
Copy link
Contributor

lberki commented Mar 27, 2015

I vote for hardcoding an absolute amount of free space instead of a percentage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug
Projects
None yet
Development

No branches or pull requests

5 participants