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
Out of memory when compiling #920
Comments
Yea, that memory is not enough, see a trace on my machine:
|
Thank you for the response - I upped to 1024 MB and had the same issue. It compiled after upping to 2048 MB. |
fwiw after cargo install clippy I think we got a lot slower to compile. Not a major issue though |
I’ve noticed that too. It’s much longer now. |
I'll investigate |
a |
I, too, think that the memory usage is excessive. My system "only" has 2 GB of ram, and I had a whole gigabyte ram free for compiling clippy, but rustc failed because it ran out of ram. This is more likely rustc's fault than clippy's fault though. |
When you |
I didn't |
By cargo-clippy do you mean the cargo-clippy binary inside clippy? It does the same thing. |
I was actually using https://github.com/arcnmx/cargo-clippy, but now that I see clippy has its own cargo addon now, I'll use that one. |
With the recent split into bin/plugin/lints, both compilation time and memory usage should be reduced. Not sure what else we can do about this issue. |
Hello,
Looking forward to trying clippy out.
cargo install cippy
outputs the following:On Arch Linux with 512 MB
The text was updated successfully, but these errors were encountered: