-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Dozens of python processes started (after update to 2018.11.0) #3514
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I test it currently also on my Linux machine (Fedora 29). The same problem occurs. |
I'm experiencing something similar. When opening Python files in a project, new instances of Python are started in the background but don't close unless I close and reopen the folder (using File | Close Folder). |
The problem seems related to the use of |
@Nutznieser
Please could you send a screen shot of the processes spawned along with the arguments passed to the processes. |
For me it was the opposite. I was seeing huge amounts of RAM being used by Microsoft.Python.LanguageServer. When I ENABLED Jedi I stopped seeing the issue. |
Please could you create a separate issue for this |
Ubuntu 17.10 vs code:
Number of processes raises while editing code in VS Code until consumes all memory. |
Here is a screen shot from the internal process explorer. Very similar to that from @IVNSTN. |
I can also confirm this behavior. It happens during code completion. Every time you start typing, a conhost.exe process launches python.exe with the jedi script indicated in the comment above. After disabling jedi in the settings and reloading, the number of processes remain stable. |
Windows 10 Same problem, after working for a few hours hundreds of python Jedi processes are running, consuming in total 5 GB even if I've set Exiting VS Code causes the whole computer to freeze for 5 seconds, even the mouse is lagging, probably because all of these Python processes need to be terminated. I have a fast SSD. The command line for the Python Jedi processes is:
|
For me, it happen with With Code example that will create this issues:
VS Code process explorer:
|
Same on macOS Every time I use auto completion will create a new Python process, too many of them results in fork failed.
|
Similar on macOS Mojave as well.
Edit: clarify that VS Code does not exit for me until force exit |
Similar on Ubuntu Linux 18.04
After coding in python for more than 10 minutes, I notice a lot of spawned process. The RAM is eventually completely eaten, and the PC freezes. process CL :
|
I can confirm this issue happens on Linux as well. It froze my computer a couple of times today. Lots of processes are like this:
are created in a very short time. |
This has been reported upstream at davidhalter/jedi#1256 . We will look to revert back to Jedi 0.12 in our next release (currently targetting next week). |
Same problem over Archlinux. Hundreds of process for |
Environment data
Actual behavior
Since update to 2018.11.0 after some minutes of work dozens of python processes are started. Currently ~150 processes and 4.5 GB of memory is used!!
It seems each time I switch to another python file tab or change and save a python file a new python process is started. Very strange.
The text was updated successfully, but these errors were encountered: