-
Notifications
You must be signed in to change notification settings - Fork 1.2k
High CPU usage #23921
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
Comments
@nickpetrovic is this with particular |
If I remove pyenv entirely, it goes away. Doesn't matter which python project I open up. (See my "Things tried" section. In my screenshots section, you can see the parent process of Here are the logs you asked for.
|
I think I have the same issue when I'm working remote with my Raspberry Pi. The CPU overload goes that high, that the SSH connection breaks and I can not reconnect. |
This (specifically the pixi error) should get addressed by #23937 . Try the latest pre-release. |
Duplicate of #23906 |
Uh oh!
There was an error while loading. Please reload this page.
Type: Performance Issue
Behaviour
CPU usage should be minimal. Ideally less than 5%.
These pyenv-which and pyenv-exec processes are spawned as soon as VSCode is opened. Takes a few minutes before they start hitting 100%. They also never terminate when you completely close VSCode. Manually terminating the processes then restarting VSCode will do the same thing over again.
Steps to reproduce:
pyenv-exec
processes withms-python.vscode-pylance
in the -I argumentDiagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Extension version: 2024.13.2024080701
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Darwin arm64 23.6.0
Modes:
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Process Info
Screen shots
VSCode running

VSCode closed/quit

Process explorer capturing the high CPU

Things tried
The text was updated successfully, but these errors were encountered: