nodejs / help

:sparkles: Need help with Node.js? File an Issue here. :rocket:
1.46k stars 279 forks source link

NodeJS 20 causing to slow down Windows Explorer? #4168

Closed TVARecordings closed 3 months ago

TVARecordings commented 1 year ago

Hello!

I recently started using NodeJS 20. Combined with Visual Code Studio, i'm running a node that functions as a Whatsapp-bot.

However, it appears NodeJS is somehow affecting my PC's performance. I've re-installed a clean Windows 10 Version 3 times now, and here's why.

After running Node's for like 5-7 days, somehow Windows Explorer is getting slower and slower. Until the point Windows Explorer just freezes. Explorer shows in Taskmanager it's using 20% CPU usage. However, there are no active task for it do to (indexing, etc).

Why do i think NodeJS causes this? It all started when using NodeJS. After the first cycle of problems. I completely wiped Windows 10 and re-installed it. No NodeJS, no problems.

So, giving it a second attempt. Once again, running for a week or so, and the problems come again. This time, i created a second Windows account that does not have NodeJS installed on to it (on the same pc). And yes, there we're NO issues with Explorer or whatsoever.

And today, again after running a week'ish, Windows Explorer completely froze again. I logged into to Administrator Windows account. No problems again. Switching back to my main, and the problems appear again.

As far as i know, i've set up things properly. Using the latest firmware for NodeJS and VCS.

I'm now in the process to test NodeJS on a seperate account, where only VSC and Node are installed. To see how it performs...

PC Specs: AMD Ryzen 9 5950X 64GB DDR4 3200Mhz Ram RTX 3080Ti 1000w PSU Windows 10 Personal 2TB M.2 SSD. (OS) 2TB M.2 SSD (Games, Node, etc)

tniessen commented 1 year ago

Node.js is extremely unlikely to cause this problem. Then again, Windows is a cursed operating system.

What are you using Node.js for? What applications are running on top of the installed version of Node.js?

This time, i created a second Windows account that does not have NodeJS installed on to it (on the same pc). And yes, there we're NO issues with Explorer or whatsoever.

How did you install Node.js for a single user? The official Node.js MSI only supports per-machine installations. While it does set up certain environment variables for the current user only, Node.js is installed globally and not for a single user account.

github-actions[bot] commented 4 months ago

There has been no activity on this issue for 11 months. The help repository works best when sustained engagement moves conversation forward. The issue will be closed in 1 month. If you are still experiencing this issue on the latest supported versions of Node.js, please leave a comment.

github-actions[bot] commented 3 months ago

It seems there has been no activity on this issue for a while, and it is being closed. If you believe this issue should remain open, please leave a comment. If you need further assistance or have questions, you can also search for similar issues on Stack Overflow. Make sure to look at the README file for the most updated links.

stefan-golus commented 1 month ago

up