-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Lots of jedi subprocesses created until memory runs out #7144
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
Can you please provide the file content where you call autocomplete, not aware of it. Thanks! |
@wj-c Processes maybe spawned, but are those being killed when you stop using the extension? |
No, they are not killed after I completely close vscode and python extension.
…-------- 原始信息 --------
发件人: Kartik Raj <[email protected]>
日期: 2019/9/14 03:08 (GMT+08:00)
收件人: microsoft/vscode-python <[email protected]>
抄送: wj-c <[email protected]>, Mention <[email protected]>
主题: Re: [microsoft/vscode-python] Lots of jedi subprocesses created until memory runs out (#7144)
@wj-c<https://github.com/wj-c> Processes maybe spawned, but are those being killed when you stop using the extension?
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#7144?email_source=notifications&email_token=AIO72JHIM5R75RUD2UOXEMLQJPQMNA5CNFSM4ISDCZQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6V5XOQ#issuecomment-531356602>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIO72JBHX4ITGCJ4JODCRULQJPQMNANCNFSM4ISDCZQQ>.
|
Hi. |
@wj-c Apologies, not sure what might be happening there. Are child process being created in the python code? I am not able to reproduce this just with any code. Please try to provide a reproducible case and create a new issue as it might be a different one. @deitry Thanks for pointing to that. Unfortunately without a reproducible case, there's not much we can do here. |
Closing the original issue for now as no further response was provided by @dorellang . I'll happy to reopen and address this if further clarification is provided. |
@karrtikr |
@deitry |
It seems to be a regression of #3586 and #3514 . This started to happen recently (I can't tell exactly when, but a couple of weeks back I didn't experience this issue).
Environment data
"python.jediEnabled"
set to; more info How to update the language server to the latest stable version #3977): JediActual behaviour
After working for a while in a Django project, python completion.py spawns lots of subprocesses that are never killed. Eventually the system runs out of memory and fork fails. You can close the visual studio folder in order to free memory, but it takes a while for the python processes to be killed and the computer gets unresponsive.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: