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
Sorry, but I already spent enough time investigating this issue. See issue description
Isssue description
Some npm package created 547,852 files in my user profile temp directory, amounting to 2.81 GB in total. This caused the Windows login to slow down from a few seconds to several minutes. Investigating the issue revealed, that the user profile service is causing the delay by somehow working through all these files in the temp directory:
A detailed description of the issues can be found in this bug report: nrwl/nx#5947
Steps to reproduce
have NodeJS installed
create an outdated Nx Workspace: npx create-nx-workspace@10 my-workspace
run ./node_modules/.bin/nx migrate latest in that workspace
this pollutes the temp directory with a lot of folders named tmp-{something}
Expected Behavior
Having a temp directory full of garbage should not slow down the windows login.
Actual Behavior
547,852 files amounting to 2.81 GB in total slows down the login process from seconds to minutes
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue!
This is quite an interesting bug. Good news though- The filesystem and performance teams are investigating issues related to npm. I'll share this issue with the team and update the thread with any news.
LOL, one year of silence after the "Good news". MS keeping on doing MS things. Developing on Windows is more and more getting from many minor issues to a real nightmare. I am the only Dev left using Windows in my team and will migrate to Linux/OSX on my next machine, too.
Windows Build Number
Microsoft Windows NT 10.0.19043.0
Processor Architecture
AMD64
Memory
31.8 GB
Storage Type, free / capacity
804 / 952 GB
Relevant apps installed
NodeJS v14.16.1
Traces collected via Feedback Hub
Sorry, but I already spent enough time investigating this issue. See issue description
Isssue description
Some npm package created 547,852 files in my user profile temp directory, amounting to 2.81 GB in total. This caused the Windows login to slow down from a few seconds to several minutes. Investigating the issue revealed, that the user profile service is causing the delay by somehow working through all these files in the temp directory:
A detailed description of the issues can be found in this bug report: nrwl/nx#5947
Steps to reproduce
npx create-nx-workspace@10 my-workspace
./node_modules/.bin/nx migrate latest
in that workspacethis pollutes the temp directory with a lot of folders named
tmp-{something}
Expected Behavior
Having a temp directory full of garbage should not slow down the windows login.
Actual Behavior
547,852 files amounting to 2.81 GB in total slows down the login process from seconds to minutes
The text was updated successfully, but these errors were encountered: