-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
TS Server takes 100% cpu #98066
Comments
@isidorn but is this using our E8 build or not? And did you make sure it is the renderer process and not some child process within (use our process explorer for that). |
@bpasero it is not the E8 build. But the regular one. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Here is the TS Log [Info - 07:31:19.334] Starting TS Server @mjbvz please let me know what more data you need. I can repro this every time and hurst my productivity. |
Might it be TS semantic highlighthing that causes 100% cpu? |
@isidorn Try |
@aeschli I am trying it now. We will see tomorrow, since this for some reasons happens once per day. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
This will be something the TypeScript team has to look at when they take over our code. Clearly, semantic highlighting is expensive as it involve resolving many symbols. The TypeScript service does not seem to cache very much as @alexdima found in his investigations. #92789 is the issue for the handover |
@aeschli actually this started reproducing every couple of days even thoough I have |
@isidorn Is there something that seems to trigger this? For example, running |
@mjbvz that is a good guess. |
Thanks. This could be #98665, which has been fixed upstream by microsoft/TypeScript#37653 I will update us to use the TypeScript 4.0 build with this fix soon. Hopefully that will address the problem |
@mjbvz thanks! Looking forward to the fix. |
Closing this for now since the upstream TS has been fixed. Let me know if you still see the problem when using the latest VS Code builds |
Code insiders helper renderer gets at 100% cpu for the last 3 work days for me.
My clunky reprot steps: just open vscode repository and wait until you can hear your cpu fan.
Let me know what details you would like me to provide. Please do not link me to the performance issue page :)
This was not happening 7 days ago.
The text was updated successfully, but these errors were encountered: