npm-check
npm-check copied to clipboard
insane memory use?
When I use npm-check it uses 10gb of ram for some reason. Does anyone haappen to know why this happens?
That could explain why it's slow.
I'm getting the same thing... extremely slow, and very high memory usage.
I just tried running npm-check for the first time, noticed my computer was running super slow, and stopped it via Ctrl+C. I then re-tried it a few minutes later with npm-check --skip-unused
, noticed slow performance, and opened activity monitor... to see over "50GB" of memory in use.
I have several large files in the folder I'm running npm-check. A dependency depcheck appears to load into memory any file it comes across. This behavior seems to be triggered by using any specials
parsers. By default depcheck uses all available specials
.
This is combined with the fact that --skip-unused
doesn't stop the check from being run, it just doesn't report it. There needs to be a return
after this line.
@AaronAsAChimp good catch!
On a side note, I ended up using yarn upgrade-interactive
, it's impressive.
same here on linux, unusable!