rust-lang / rust-lang/rust-clippy
extreme memory usage when checking diesel
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 13.5k
- Forks
- 2.2k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 32
Description
When checking diesel 1.4.2 with clippy clippy 0.0.212 (37f5c1e 2019-04-09)
RUSTC_BOOTSTRAP=1 RUSTFLAGS="-Z force-unstable-if-unmarked" RUST_BACKTRACE=full cargo clippy --all-targets --all-features -vvvv -- --cap-lints warn -W clippy::internal -W clippy::pedantic -W clippy::nursery
there seems to be a lot of memory usage (3.2 gigs on my system).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the reported command against diesel 1.4.2 with clippy 0.0.212 and observe its memory usage. Compare the result with a smaller or updated check to identify whether the high usage is specific to this project or invocation; done means the cause is isolated and the excessive memory use is fixed or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- performance, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100