You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
I have a crate with a couple hundred dependencies for testing clippy/rustc.
When I cargo clippy on it in a way that it will generate A LOT of warnings, clippy will take several minutes to run on it but not OOM.
Running the same command again, (as cargo tries to load the error messages from cache I assume), I can see that cargo is trying to occupy 12+ gigabyte of ram within <30 seconds and I have to abort the process manually. target/debug/.fingerprint/unicode-normalization-4895d5af05ae5f63/output is 11 gigabyte in size.
Problem
I have a crate with a couple hundred dependencies for testing clippy/rustc.
When I
cargo clippy
on it in a way that it will generate A LOT of warnings, clippy will take several minutes to run on it but not OOM.Running the same command again, (as cargo tries to load the error messages from cache I assume), I can see that cargo is trying to occupy 12+ gigabyte of ram within <30 seconds and I have to abort the process manually.
target/debug/.fingerprint/unicode-normalization-4895d5af05ae5f63/output
is 11 gigabyte in size.Steps
Run
twice on a crate that depends on
unicode-normalization 0.1.7
Possible Solution(s)
Notes
I'm not sure why loading the messages seems to eat so much ram while printing/storing them was not that excessive.
Output of
cargo version
:cargo 1.41.0-nightly (626f0f4 2019-12-03)
The text was updated successfully, but these errors were encountered: