TS functionality keeps dying on large project

See original GitHub issue

Issue Type: Bug

VSCode keeps trying to “Initializing JS/TS language features”, but fails consistently

I’m working on a large backend typescript project in Amazon though

VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:44:30.902Z) OS version: Darwin x64 19.6.0

System Info
Item Value
CPUs Intel® Core™ i7-7660U CPU @ 2.50GHz (4 x 2500)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 12, 15, 23
Memory (System) 16.00GB (0.27GB free)
Process Argv –crash-reporter-id ff3e41e0-a3a4-4dad-a1e8-0e6d71d3b908
Screen Reader no
VM 0%
Extensions (8)
Extension Author (truncated) Version
Bookmarks ale 13.0.4
gitlens eam 11.4.1
vscode-graphql Gra 0.3.16
dotenv mik 1.0.1
vscode-docker ms- 1.13.0
remote-containers ms- 0.177.2
sqltools mtx 0.23.0
sqltools-driver-pg mtx 0.2.0
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554
vscgsv2:30307504
vscorehov:30309549
vscod805:30301674
binariesv517:30312825

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
mjbvzcommented, Jul 1, 2021

Is this a very large project? SIGABRT suggests that the server process may be running out of memory. You can also try configuring typescript.tsserver.maxTsServerMemory

1reaction
mjbvzcommented, Jun 15, 2021

Did you have a chance to test using the most recent insiders build? It should print more info when the server exits

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode - TypeScript language service died unexpectedly 5 ...
I work on TypeScript for VSCode. The TypeScript language service powers language features for both TypeScript and JavaScript code.
Read more >
Some projects moving away from TypeScript - Meteor forums
Same here, but coming from Java, I do think TS is extremely useful for large complex codebases with multiple people working on it,...
Read more >
8 Tips for Converting That Big Project to TypeScript
Since the TS compiler can understand structures and constants, it can generate the following type declaration for the createPerson function.
Read more >
Converting a big existing project to typescript slowly - Reddit
Rename all files to .ts and make a very permissive tsconfig configuration. Problem is the millions of warnings in compile time and kind...
Read more >
Do you feel that big JavaScript projects without type-checking ...
js, renaming it to myProg.ts, and gradually start adding TypeScript features. You can declare types of variables and signatures of functions, and, by...
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