Skip to content
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

High cpu usage #3554

Closed
sulavmhrzn opened this issue Oct 30, 2022 · 4 comments
Closed

High cpu usage #3554

sulavmhrzn opened this issue Oct 30, 2022 · 4 comments
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version

Comments

@sulavmhrzn
Copy link

Type: Performance Issue

CPU usage fluctuates erratically and frequently remains high.

/usr/share/code/code --ms-enable-electron-run-as-node /home/sulav/.vscode/extensions/ms-python.vscode-pylance-2022.10.40/dist/server.bundle.js --cancellationReceive=file:3eda896e6ccf04f8a876b2515eed7b7462dcb4e7c9 --node-ipc --clientProcessId=121885
25
250
122016

Extension version: 2022.10.40
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:16:26.920Z)
OS version: Linux x64 5.19.16-301.fc37.x86_64
Modes:
Sandboxed: No

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 3100)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 2, 1, 1
Memory (System) 7.63GB (2.84GB free)
Process Argv --unity-launch
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE wayland
Process Info
CPU %	Mem MB	   PID	Process
    0	   164	121674	code main
    0	    31	121737	   zygote
    0	   117	121770	     gpu-process
    0	    31	121738	   zygote
    0	     0	121740	     zygote
    0	    86	154889	       issue-reporter
    0	    55	121777	   utility-network-service
    0	   281	121796	   window (auth.py - rent-my-book - Visual Studio Code)
    0	   141	121884	   shared-process
    0	    78	121911	     ptyHost
    0	     0	122011	       /usr/bin/zsh -i
    0	    55	122178	         /usr/bin/python3 -sP /usr/bin/poetry shell
    0	     0	122192	           /usr/bin/zsh -i
    0	    39	152171	             python3 main.py
    0	     8	152172	               /home/sulav/.cache/pypoetry/virtualenvs/rent-my-book-UwXx-c0e-py3.11/bin/python3 -c from multiprocessing.resource_tracker import main;main(4)
    0	    39	154853	               /home/sulav/.cache/pypoetry/virtualenvs/rent-my-book-UwXx-c0e-py3.11/bin/python3 -c from multiprocessing.spawn import spawn_main; spawn_main(tracker_fd=5, pipe_handle=7) --multiprocessing-fork
    0	    70	121977	     fileWatcher
    0	     0	154905	     /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	   141	121885	   extensionHost
   25	   250	122016	     /usr/share/code/code --ms-enable-electron-run-as-node /home/sulav/.vscode/extensions/ms-python.vscode-pylance-2022.10.40/dist/server.bundle.js --cancellationReceive=file:3eda896e6ccf04f8a876b2515eed7b7462dcb4e7c9 --node-ipc --clientProcessId=121885
    0	    62	122022	     /usr/share/code/code --ms-enable-electron-run-as-node /usr/share/code/resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=121885
Workspace Info
|  Window (auth.py - rent-my-book - Visual Studio Code)
|    Folder (rent-my-book): 21 files
|      File types: pyc(7) py(7) sqlite3(1) lock(1) toml(1)
|      Conf files:;
@Alekky09
Copy link

Exact same thing happening for me in macOS Big Sur 11.3.1

@mrucker
Copy link

mrucker commented Oct 31, 2022

This has recently become a problem for me too.

Version: 2022.10.40
Windows 11 Pro

@tobiasbrodd
Copy link

tobiasbrodd commented Oct 31, 2022

Same for me in the last week or so. Python linting stops working around the same time.

Version: 2022.10.40
macOS: Ventura 13.0 (and Monterey)

@rchiodo
Copy link
Contributor

rchiodo commented Oct 31, 2022

Thanks for the issue. This should be fixed in the prerelease version (2022.10.41)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next version (main) A fix has been implemented and will appear in an upcoming version
Projects
None yet
Development

No branches or pull requests

5 participants