-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of control CPU while using #800
Comments
I am also having this issue. |
I have also experienced this issue. In my case it seems to be caused by opening |
Same here (RPI 4b 8gb) |
Same issue found thanks to the Glances add-on: 10 GB of RAM and 80% CPU usage. Happened while going in and out of Visual Studio Code, maybe a new instance is launched every time. |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
This issue happens on my side too, by restarting the addon, the issue is solved. Also, Ram Usage seems also to be affected. As soon as I open the VS Code Tab the usage spikes as seen below and falls down when closing the tab, but still rises without code being opened (instance running in background). I'm running on a Raspberry Pi 4. |
same problem here... i was thinking problem was relate to HA core but now im sure its VS code. Im running everhing in docker container. |
I have issues with CPU too, but a little bit different. When watching the release party I saw a jump page with links to all Addons. I love the approach so I decided to create this too. I have a entities card with :
This makes the page just start. But it seems it is not closing it. It just opens more sessions. Is this the same issue, or the same cause, or should I open a new one? |
@frenck can you release a new version of this add-on? Looks like this may be related with a bug on add-ons that use devcontainers. This was fixed back in April: microsoft/vscode-remote-release#9586 |
I experience the same issue, |
@frenck Could this be noted somewhere in the docs as some sort of warning to not use/open the root folder? |
Feel free to open a PR. |
Selecting /homeassistant/ as working folder doesn't solve the issue of high CPU usage in my case. |
As a workaround, I found the the "file editor" add-on lets you work in "/" files if you disable the default option "Enforce Basepath". |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Still not solved, the addon is unusable, at least on RPI |
I'm using the 'workaround' too because I haven't seen a new release, or anything related to solving this issue. I'd rather use vscode, but very much not usable. I need to restart the addon every time I've used it. |
After last update same problem. My Rasberry goes 32 load average and rebooted itself |
Same here, on both a Raspi 4 and a Raspi 5 this addon creates a lot of CPU load, even when not actively used. I have always only used the This is a typical load on my Raspi 5 after using it once and then leaving it alone for days. Maybe related (or not), autocomplete and linter sometimes take a few minutes. My "workaround" is to manually stop the addon after using it and then restart it as needed. |
Upgrade from 5.17.1 to 5.17.2 made my cpu usage for the add on spike from 2% to 30%. I've downgraded. |
How did you do it? |
Same problem here. Stopped using the addon for now, but I would love this to be fixed. |
Your only option is restore from partial backup. |
Problem/Motivation
top
showed 95+% CPU consuption with no process showing any consumption.The
htop
didn't help much either.Awhile had passed and the CPU seemed to have started to wind down (i was working so could only deal with this on and off).
I had a break so I went to VScode to check my logs and immediatly heard the Fan go nuts.
I looked at the VScode addon page
Expected behavior
Actual behavior
Steps to reproduce
Proposed changes
The text was updated successfully, but these errors were encountered: