Skip to content

lots of wmic process with high cpu usage after upgrading to 1.21 #1036

Closed
@yingang

Description

@yingang

Environment data

  • VS Code version: 1.21
  • Extension version (available under the Extensions sidebar): 2018.2.1
  • OS and version: Windows_NT x64 10.0.14393
  • Python version: 3.6.4
  • Type of virtual environment used (if applicable): N/A
  • Relevant/affected Python packages and their versions: N/A

Actual behavior

I upgraded the vscode to 1.21 yesterday, then my laptop would start to respond slower and slower when vscode is ruuning. By checking task manager, I found that there are lots of wmic process like: wmic process 7416 get workingsetsize,usermodetime,kernelmodetime, in which the PID 7416 points to a python process: python completion.py.

wmic

After disable the python extension and restart the vscode, the problem won't happen again.

The Python extension (ms-python.python) I was using was released 2018.2.1, so I think it's a problem between the latest 1.21 release with the extension?

Expected behavior

no high cpu usage just for an idle vscode.

Steps to reproduce:

  1. Please see the 'Actual behavior' part

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

N/A (since there is no need to do anything additional to reproduce the problem)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)

N/A (since there is no need to do anything additional to reproduce the problem)

Metadata

Metadata

Assignees

Labels

area-intellisenseLSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions