Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Python Language Server uses too much RAM / Memory #2594
Honestly there should just be a command that generates this
Machine crawls to a halt. Using Python's language server using 30GB+ happens after a couple of hours of use.
Sonic like universe. FAST!
Steps to reproduce:
changed the title
Python Language Server uses wayyyy too much RAM / Memory
Sep 14, 2018
I use vscode as git editor and also as mergetool.
After each merge conflict fixed in vscode, the server seems to not release the used RAM.
referenced this issue
Sep 20, 2018
I'm going to leave this open, but hopefully we will have the fixes Mikhail and the language server team have made in the next release of the extension (at worst the one following).
Hey, @brettcannon. Thanks for your reply! I think you can reproduce this behavior with thefuck's source code (at least this is the source code I'm having memory leak problems with). I'm on Linux 4.15 x86_64 and Python 3.7.0. Please let me know if you need any additional info. Also, I'd love to test any alpha/beta/RC.
referenced this issue
Oct 3, 2018
@MikhailArkhipov doesn't help. I'm tried to restart VS Code after added this flag, but now it started to consume all resources again:
If I kill process I'm getting this error on
Upd. In status line also shown spinning arrows circle with text "Analyzing workspace, 14 items remaining..."
@MikhailArkhipov, thanks for your message.
I tried with
Maybe worth to mention, I'm running with only 8G of RAM and I don't know if memory usage stops increasing at some point because the system runs out of memory if I don't quit VSCode.
This is the output of
"python.linting.enabled": true, "python.linting.lintOnSave": true, "python.linting.pylintEnabled": false, "python.linting.pylintCategorySeverity.convention": "Hint", "python.linting.pylintCategorySeverity.warning": "Error", "python.analysis.watchSearchPaths": false, "python.linting.flake8Enabled": true,
After re-downloading language server, I see the following in the output panel:
I hope this helps. I'm still looking forward to a chance (aka free time) to test the development build, as @brettcannon suggested. I'll do so ASAP.
Thank you all for your time and support!