-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Python analysis engine terminated due to stack overflow #2108
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
This should be fixed with microsoft/PTVS#4477. If you delete analysis folder, new build will be downloaded. |
Doesn't look like it. I removed the analysis folder in the extension and after reloading VS Code it went about and downloaded the Python Language Server again (this is painfully slow by the way).
I'm guessing some artifact still needs to get updated? |
@daenney if the status bar started downloading the language server again then there isn't any other artifact (at worst you need to restart VS Code). Any chance you have sample code in your project that triggers this problem which you can share with us? |
I am experiencing the same on a large (25k) line python3 file which also has imports of other similarly massive files (and some unresolved imports as well). I could see the rapidly rising memory usage of the language server process until it crashed and is restarted. |
@pankajp - can you try insider's build? |
This was fixed a while ago. Closing. |
@pankajp it might be the same. Once our next release comes out if it comes up again then please open a new issue. |
Uh oh!
There was an error while loading. Please reload this page.
Environment data
Actual behavior
Extremely high CPU usage and no completions. Eventually an error is shown by VS Code informing me the server has crashed too many times and won't be restarted.
Expected behavior
Provide working completions while not launching my laptop into orbit.
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)The text was updated successfully, but these errors were encountered: