Supervision of completion process launches a process every few seconds #1139
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
feature-request
Request for new features or functionality
Environment data
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:
The text was updated successfully, but these errors were encountered: