vscode-python repeatedly launching wmic
See original GitHub issueEnvironment data
- VS Code version: 1.21.1 x64
- Extension version (available under the Extensions sidebar): 2018.3.1
- OS and version: Win10
- Python version (& distribution if applicable, e.g. Anaconda): 2.7.13
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): NA
Actual behavior
When open to a python file, code with the Python extension enabled is continually launching wmic processes. This in turn backs the wmiprvse.exe service up, to the point where very quickly it’s consuming 100% of the CPU (on one core).
Expected behavior
VSCode shouldnt’ cause my CPU to be fully loaded when nothing’s actually happening
Steps to reproduce:
Install VSCode
Install the python extension
Open a python file.
Watch in taskmgr/process explorer as wmic
processes are created repeatedly.
Disable python extension
Watch as no further wmic
processes are created, and processor returns to idle.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
VSCode keeps opening new Python window every 10 ...
VSCode keeps opening new Python window every 10 seconds or so, unprompted, but still says Python not installed and am unable to use...
Read more >Debugging configurations for Python apps in Visual Studio Code
To generate a launch.json file with Python configurations, do the following steps: ... Note: Starting a debugging session through the Debug Panel, F5...
Read more >How to Fix the "This App Can't Run on Your PC" Error in ...
Right-click Start and go to Settings > Update & Security. From the left menu, open Windows Security and click Virus & threat protection....
Read more >local windows debugger not showing
Now Press F5 or start the debugging option from the debug … ... Plus, doesn't track repeatedly ignored faces, so the same faces...
Read more >Task scheduler return code 2147942401 - Giglio Boutique
I am trying to schedule a job to run a batch file with Windows 10 Task Scheduler, ... This system is up to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DonJayamanne - I wouldn’t worry too much. I think we can change default memory control to off (or at least on Windows). In the new analysis engine we have internal control of the memory consumption so the setting won’t be needed eventually.
WMI just doesn’t perform well if you use it frequently (as in poll every 5 seconds). You can get the same information from the performance counters library w/o incurring the wmi perf hit.