-
-
Notifications
You must be signed in to change notification settings - Fork 14
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 #52
Comments
experiencing this on mid to large size projects all the time, very annoying. sometimes restarting vs code helps, sometimes not |
Could you provide a open source project that I can test? I can't image how large it is , this problem reporting for several months, but I did not face it myself. |
I do hit this issue regularly as well. VSCode becomes totally unusable, I cannot copy-paste things around, nor save a file. Typing still works (but cannot save it 🤷 ). I have a 3,7 GHz 10-Core Intel Core i9, 32 GB of Memory, and an NVME with enough free space --thus pretty sure, that my machine is not the bottleneck here. I can't link any project atm, but I am having only one project opened in VSCode, about ~ 7-15 files at the same time. Project size is small to medium; the number of files (roughly):
The folder is about 3GB in size (including some large media files, which I do not have open in VSCode). |
Thanks!, that's much detail, I never used in such big project, let me see what I can do for this, maybe I'll create a refactor all code. that will take times, I've seen much reporting |
as 0.16.11 , I add findFiles maybe reduce the performance issue.
|
I am constantly getting this issue too. Please find my profile attached. |
looks like it take too much time find symbol when you hover on a symbol. previous reported txt did not contains same content, maybe not same problem or vscode improve its report I guess.
|
table columns on hover now use cached content will not doing file io every time, see if can reduce the problem, don's see any problem with |
I'm getting something similar on 0.17.3, not sure if it's related. This one makes my editor lock up but I think it locks up either because this problem has some weird interaction with vscode-neovim, or because it's starting a debugger in the background? Here's my developer console with the weird "debugger attached" message. Here's the CPU profile it spat out: https://gist.github.com/taylorthurlow/06db37ce5a8dd9f79174ef68b0d46460 The only solution I have for this one is to reload the window. |
the first error is catched , it will return a rejected promise. the second error I may do check file exists before parse db schema. for now initial your db schema first. |
the main problem is vscode's activated extensions share limited resources , to properly report performance issue I think users need deactive others extensions . |
Gotcha. Sadly for me the problem doesn't happen often enough to be able to do that without wasting a bunch of time. Thanks for taking a look, though. Do you know why the extension host would log "Debugger attached"? I'm not in any sort of debugging session. |
bung87.rails-unresponsive.cpuprofile.txt
Performance
rails
0.16.2
Windows_NT x64 10.0.18363
1.43.2
C:\Users\pedro\bung87.rails-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: