-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Newest version 1.33.1 has electron_node tsserver.js eating up 100% cpu randomly #31341
Comments
Can you please share some more information about the project, such as the list of dependencies in the |
Hey @mjbvz here's my dependencies... It's a gatsby site and nothing special. At this point, it's a plain static site... though that will change in future iterations and updates. Maybe prettier? |
Can you please share that as text instead |
@mjbvz Here you go... thanks!
|
Thanks. I tested this but can't repo the perf issue using VS Code insiders on a new gatsby site with those dependencies. Sometimes the memory usage would climb but it drops back down once garbage collection kicks in Can you please test this on VS Code insiders. If you can share the logs or the project itself, I can also investigate this better |
@mjbvz I've been having the same issue on my projects ever since upgrading to 1.33.0 and have been crawling through answers looking for a solution. There seems to be ALOT of people experiencing this and closing or tagging all of them with If this issue is tracked somewhere could you please either link where it's tracked, or stop closing all the issues? It's not very good that the only solution I've found so far is having to disable TypeScript/Javascript Features which essentially disables Intellisense too... |
@mjbvz My code is public on my profile. It's the thistimefitness repo. I did test the insiders and still got the same problem. I looked at my logs but there wasn't much there. To make sure I was grabbing the right logs, I used the quick navigation... typed logs... and looked at main logs. But there was nothing going on there. Are there other logs I should be looking at? |
Thanks. I could repo some sluggish performance with the following steps:
This looks like the same issue as #31302 since I usually see the poor performance in files that reference styled-components |
Just curious... why would version 1.32.3 be so fast with styled-components? Do you recommend something else like Emotion? |
See #30819 for details about the root cause. You can change the TS version used in VSCode by following these instructions |
快被这个问题折磨疯了!!!
|
So this seems to be a recurring issue over the years. But there also appears to be no definitive solution either.
Here's what my process manager is showing:
Not entirely sure why. I'm not coding in Typescript... I'm not using any clear extension that's typescript related... unless ESLint does this, which I wouldnt be surprised about.
I have reverted back to version 1.32 and everything runs like a dream.
Intellisense is FAST.
No code highlighting issues.
I just wanted to bring this back up.
I'm working on a tight deadline for two sites so once I get these done I will try to get my tslog info... but in the meantime I wanted to see if anybody else has experienced this and found a solution that I have not come across yet.
Thanks!
The text was updated successfully, but these errors were encountered: