-
Notifications
You must be signed in to change notification settings - Fork 17.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
cmd/go: cannot get modules, ‘file too large’ error on module cache #52471
Comments
what's the output of |
-t: cpu time (seconds) unlimited |
still same error |
24000 blocks means that you can only create a file up to 24,576,000 bytes in size. Try setting the ulimit to unlimited and see how large the generated file is. |
Worked! TY! |
Go version: 1.17.8
Does this issue reproduce with the latest release?
Yes, tried it with version 1.18.1
What operating system and processor architecture are you using (
go env
)?Macbook m1 Big Sur 11.5.2
What did you do?
I am trying to build and "go get" in a project with aws (github.com/aws/aws-sdk-go@v1.43.6) and go genproto (google.golang.org/genproto@v0.0.0-20220222213610-43724f9ea8cf) dependencies
What did you expect to see?
Success and build compilation.
What did you see instead?
google.golang.org/genproto@v0.0.0-20220222213610-43724f9ea8cf: write /Users/matias.pascansky/go/pkg/mod/cache/download/google.golang.org/genproto/@v/v0.0.0-20220222213610-43724f9ea8cf.zip834934505.tmp: file too large
github.com/aws/aws-sdk-go@v1.43.6: write /Users/matias.pascansky/go/pkg/mod/cache/download/github.com/aws/aws-sdk-go/@v/v1.43.6.zip1268850339.tmp: file too large
The text was updated successfully, but these errors were encountered: