-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Environment data
- VS Code version: 1.21.0
- Extension version: 2018.2.1
- OS and version: Win7
Actual behavior
Looks like the "fix" for #744 is launching an external process every 5 seconds to check the completion process size: the command line is wmic process <pid> get workingsetsize,usermodetime,kernelmodetime .
I think this increases the CPU load (battery life..), at least it makes me nervous seeing processes launch at that rate :-) (It's also making the use of ProcessExplorer a bit more difficult if its set to jump to new processes...)
Expected behavior
Ideally, the supervision of the completion process would not launch an external tool to make the measurement, but this may be the behavior of the library used and not be directly caused by the code in this plugin.
Alternatively, it would be nice if there was an option to disable these checks (I only see the python.jediMemoryLimit to change the limit, not the frequency of the test)?
Steps to reproduce:
- open a .py file in code on windows
- type anything that causes the autocompletion
- watch processes e.g. in ProcessExplorer