question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to use TypeScript (Code Helper 100% of processor)

See original GitHub issue

Since a couple of days I can’t use VScode properly with TypeScript (show info on hover, auto import etc.) it works 5 minutes when I launch the app and then I have a Code Helper process at 100% of processor and I can’t use it anymore. I tried reinstall 1.58.2, Insiders version but I still have this issue.

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.59 & 1.58.2
  • OS Version: macOS Big Sur 11.5.1

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
jgouxcommented, Nov 4, 2021

Hello, a small update!

We still aren’t able to pinpoint the issue but it seems that bumping the allocated memory for tsserver “solves” the issue. ("typescript.tsserver.maxTsServerMemory": 8192), I had something like 3Go previously.

VSCode is back to normal, the autocompletion / imports and type checks are instant! 🚀

1reaction
mjbvzcommented, Aug 17, 2021

Thanks. Can you also test on the latest VS Code insiders build to confirm this hasn’t already been fixed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to use TypeScript (Code Helper 100% of processor)
Issue Type: Performance Issue Since a couple of days I can't use VScode properly with TypeScript (show info on hover, auto import etc.)...
Read more >
Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
Tooling - styled-components
The processor ignores javascript files that don't contain any styled-components, so don't worry about being too broad as long as you restrict it...
Read more >
Unable to Install Kepler React - TypeScript - Stack Overflow
If the types are not available for the particular library that you are pulling in. Here are the 2 options. Add the typings...
Read more >
Configuring Jest
You can use --config flag to pass an explicit path to the file. ... To read TypeScript configuration files Jest requires ts-node ....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found