-
Notifications
You must be signed in to change notification settings - Fork 767
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
Extension causes high cpu load #3513
Comments
do you have a public code repository? or code example to repro? |
I'm also having CPU issues for several days now. This is using the sqlalchemy repository, Fedora linux. It starts out fine then after some minutes builds up to 100/200% of CPU under top and vscode functions like hover, outline, etc. become unresponsive. Closing vscode will often leave the pylance process still running and it has to be manually killed. I will try to run some of the debugging steps later |
r you using pytest? |
@zzzeek can you paste your user settings.json file? I'm trying this now with sqlalchemy and not reproing the issue. |
settings is attached |
so locally it's not doing it now. It goes away after a restart and sometimes takes awhile before it appears again. I will try to turn on the node.js debugging stuff when it does. |
Thanks, I was finally able to repro. Root cause was this commit: We should have a fix soon. |
woah, with my repo? is there a way to make it happen? |
I repro'd after I ran setup.py in sqlalchemy and then started pip installing more stuff into the venv. Eventually it repros on hover. |
I'm suffering from the same issue. A quick fix would be so much appreciated from here. 🙏 |
Also experiencing this issue with |
This issue has been fixed in prerelease version 2022.10.41, which we've just released. You can find the changelog here: CHANGELOG.md |
Performance
vscode-pylance
2022.10.30
Windows_NT x64 10.0.19044
1.72.2
file:///c%3A/Users/Michael/AppData/Local/Temp/ms-python.vscode-pylance-unresponsive.cpuprofile.txt
Find more details here: https://github.com/microsoft/vscode/wiki/Explain-extension-causes-high-cpu-load
The text was updated successfully, but these errors were encountered: