Comments (10)
Having the same issue. Raspberry Pi 4 reports very high RAM usage, too. Device gets very toasty. Have to disable the addon until fixed.
from addon-vscode.
Similar issue, seeing CPU and mem increasing while addon is running, once it gets into the 90's the system starts becoming unresponsive.
Nothing abnormal in the logs:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: Studio Code Server
Fully featured Visual Studio Code (VSCode) experience integrated in the Home Assistant frontend.
-----------------------------------------------------------
Add-on version: 5.15.0
You are running the latest version of this add-on.
System: Home Assistant OS 11.4 (amd64 / generic-x86-64)
Home Assistant Core: 2024.1.5
Home Assistant Supervisor: 2023.12.1
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[11:53:05] INFO: Configuring timezone (Australia/Adelaide)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-user: starting
s6-rc: info: service init-mysql: starting
s6-rc: info: service init-mosquitto: starting
s6-rc: info: service init-code-server: starting
s6-rc: info: service init-code-server successfully started
s6-rc: info: service init-mysql successfully started
s6-rc: info: service init-user successfully started
s6-rc: info: service code-server: starting
s6-rc: info: service code-server successfully started
[11:53:05] INFO: Starting code-server...
s6-rc: info: service init-mosquitto successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[2024-01-26T01:23:06.008Z] info Wrote default config file to /root/.config/code-server/config.yaml
[2024-01-26T01:23:06.351Z] info code-server 4.20.0 d0215eca8804d0be5d3551c39404e336032c3141
[2024-01-26T01:23:06.352Z] info Using user-data-dir /data/vscode
[2024-01-26T01:23:06.366Z] info Using config file /root/.config/code-server/config.yaml
[2024-01-26T01:23:06.366Z] info HTTP server listening on http://0.0.0.0:1337/
[2024-01-26T01:23:06.366Z] info - Authentication is disabled
[2024-01-26T01:23:06.366Z] info - Not serving HTTPS
[2024-01-26T01:23:06.366Z] info Session server listening on /data/vscode/code-server-ipc.sock
[11:53:34]
[11:53:34] Extension host agent started.
File not found: /usr/local/lib/code-server/lib/vscode/out/vsda_bg.wasm
File not found: /usr/local/lib/code-server/lib/vscode/out/vsda.js
[11:53:36] [172.30.32.2][2a551e65][ManagementConnection] New connection established.
[11:53:36] [172.30.32.2][79e479d0][ExtensionHostConnection] New connection established.
[11:53:37] [172.30.32.2][79e479d0][ExtensionHostConnection] <533> Launched Extension Host Process.
File not found: /usr/local/lib/code-server/lib/vscode/extensions/keesschollaart.vscode-home-assistant-1.39.0/jinja-language-configuration.json
[11:57:30] [172.30.32.2][2a551e65][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[11:57:30] [172.30.32.2][79e479d0][ExtensionHostConnection] <533> Extension Host Process exited with code: 0, signal: null.
Screenshot showing CPU and Memory usage, where it starts increasing just before 12pm is when I started the addon, and where it drops is when I stopped the addon.
For context this is an Intel i7-6700T system (4 cores, 8 threads) with 8GB RAM.
from addon-vscode.
I also experience the same problem. By opening VSCode, the CPU load of the addon goes to 95% + percent, to the point Home Assistant almost freezes. Using Raspberry Pi 4b 8 GB ram
from addon-vscode.
Yes, this issue is affecting me as well. VSCode seems to leak memory and eventually starts to put demands on the swap file which increases CPU load making the system slowly less unresponsive. It took about a week before overwhelmed my NUC system (4GB of RAM and 1 GB Swap). A simple restart on the VScode extension cleared the problem.
from addon-vscode.
I do have the same issue. RPi5 8Gb at 90% CPU and 80% ram usage just for this AddOn. Very sad as I like the funktionality
from addon-vscode.
Same issue as #565 that has been an issue for some since Jan 2023, mine started about 4 months ago. Have to keep it disabled or Pi will overhear and shutdown
from addon-vscode.
Same here, the only workaround is to start the addon, do the changes and then stop it again.
Any alternatives out there?
from addon-vscode.
Hi, just found this reddit thread, where there seems to be a solution. I did not try it in any way, just posting it to inform you.
https://www.reddit.com/r/homeassistant/comments/1amue9p/vscode_addon_burning_the_cpu_even_when_closed/
from addon-vscode.
I tried that fix previously and it did not work for me, I tried again just to be sure. This led me to see what I could figure out. Go see my post in the issue thread ##565 (comment)
This 100% fixed the problem for me, but creates it's own with the loss of features.
from addon-vscode.
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!
from addon-vscode.
Related Issues (20)
- High CPU and MEM usage HOT 2
- Autocomplete of entities not working in !include files HOT 5
- Studio Code Server - 401: Unauthorized in HAOS 2024.1.4 HOT 1
- Auto-completion for keywords and parameters not working with VS Code v5.10.0 HOT 10
- Ever Increasing Data Size HOT 8
- Does this offer an option to disable telemetry? HOT 1
- Pasted code indents not handled properly HOT 1
- Studio Code server will not load anymore.... Gets File not found error Help? HOT 4
- 401 - Unauthorized HOT 4
- "Speed" is being labelled as an invalid device_class for a sensor template HOT 2
- Unable to connect | Nginx Proxy Manager
- Studio Code Server add-on isn't able to start HOT 2
- VSCode seems to eat up a LOT of CPU and RAM. HOT 2
- Markdown Preview blank page / empty HOT 6
- Out of control CPU while using HOT 5
- Config_path value does not have any effect HOT 2
- VS Code Server is working but when clicking on the Launch GUI nothing is showing! HOT 4
- VS Code fails to start HOT 1
- Add-on does not start - without error message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-vscode.