-
Notifications
You must be signed in to change notification settings - Fork 285
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
Python Language Server CPU usage 100% #421
Comments
Which version are you running? We had an issue recently where the language server went into a recursive loop. |
It's on VSCode: See microsoft/vscode-python#2297 |
I saw the same thing until I pointed vscode to the correct python interpreter. |
This should be fixed with an upgraded Jedi. Please re-open if not |
Upgraded to jedi-0.13.3, and I am still getting 100% cpu usage and pyls frequently hangs to the point where I have to manually kill the pyls process to be able to edit anything. any suggestions to fix this? I am using emacs and lsp-mode |
I have the same issue |
Same issue here and can't figure out what's happening |
I'm also having this issue, it seems to be triggered when I start a string or edit a comment. The only solution seems to be to kill the pyls process. When I do a edit: on latest version (0.27.0) and using Jedi 0.13.3 |
I had this issue with Emacs and the fix was to remove a bunch of folders from the workspace. |
I'm also using emacs with pyls and this issue is starting to bug me. Can you please be more specific as to which folders were removed to fix the issue? |
Your own folders
…On Tue., May 26, 2020, 3:55 a.m. Sergiu Elmi, ***@***.***> wrote:
I'm also using emacs with lysp and this issue is starting to bug me. Can
you please be more specific as to which folders were removed to fix the
issue?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#421 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJDE4VEMDX7K2DBDDV2YQITRTNYWRANCNFSM4FU3KTEQ>
.
|
If you are referring to the folder in which my project files are, I only have a single file "main.py" in there. So I guess it's another issue on my end :( |
I suspect that the problem with emacs-lsp is different from original bug reported here. Maybe we should open a new ticket. However so far I have not figured out when it triggers. |
I have fixed my issue but, sadly, I don't remember exactly how. It was surely a missing package that solved it, but I don't know which. Might be the emacs package "company-jedi" or "jedi" from pip but I'm not sure right now. |
FWIW, I had the same problem, with a large virtualenv installed inside the project directory. Moving the virtualenv outside the project root solved the issue, the language server is very snappy now. |
I have to manage a very large Python codebase, but this is ridiculous... It doesn't calm at any time.
The text was updated successfully, but these errors were encountered: