-
Notifications
You must be signed in to change notification settings - Fork 28k
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
The JS/TS language service immediately crashed 5 times. The service will not be restarted. #206780
Comments
Does it work for you with vscode insiders edition? Might be related to Node version 18.17.1 |
@davidmatter I don't know about the vscode insider version. But do you think I need to upgrade my Node.js version to version 20? |
Try running your project with https://code.visualstudio.com/insiders/ |
@davidmatter All right. I'll try to run my project using vscode insider edition |
hi @davidmatter i have this same issue and this error doesn't happen with insiders, how does that help? I tried completely purging vscode from my mac and disabling all extensions and this error still occurs. I have a yarn monorepo that uses TS for several packages, any ideas? |
If it's a large project you can try to fiddle with this setting |
AFAIK, in the current insider version they've updated the node version to the current LTS. That might help with memory usage. Might need to wait until they've stabilized and shipped the insider version. Maybe increasing maxTsServerMemory helps, though. |
it's big in deed, but for now the link to the yarn repo issue with the fix abotu disabling the tsserver feature helped :) |
Why disable? I'd just increase it to 4GB which is the max size AFAIK |
just tried and it still crashes: "typescript.tsserver.maxTsServerMemory": 4096" i have 16gb of ram in total |
Type: Bug
I always get an error message like the title of this report whenever I run Visual Studio Code on an Express.js project with TypeScript. I don't know if this is because of my Visual Studio Code or because of the Extension I installed.
VS Code version: Code 1.87.0 (019f4d1, 2024-02-27T23:42:16.599Z)
OS version: Linux x64 6.5.0-21-generic
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (41)
(2 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: