Skip to content

High CPU usages #134

Closed
Closed
@sagargg

Description

@sagargg

Hi, Suddenly, over the past few days, I've noticed my laptop heating up too quickly. When I check the CPU, some bash processes are using a significant amount of CPU. Upon more deeper check, I found that it is due to the VSCode Pylance extension. If I disable it, the issue goes away, but as soon as I enable it, CPU usage goes up.

Screenshot 2024-07-23 at 1 28 15 PM

I even tried reinstalling VSCode and installing different versions of Pylance, including the pre-release and the latest one, but the issue persists. By the way, I also tried disabling indexing with "python.analysis.indexing": false, but the issue persists.

Vscode version

Version: 1.91.1 (Universal)
Commit: f1e16e1e6214d7c44d078b1f0607b2388f29d729
Date: 2024-07-09T22:07:54.982Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0

Extension versions


Pylance -v2024.4.1
Python- v2024.10.0

I would greatly appreciate any help. thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions