Closed
Description
Process is running out out of memory on TS 2.6.2
in watch mode.
To reproduce:
- Run
tsc --noemit --watch --project .
- Edit a file
The process hangs for a minute or so, then crashes with a node out-of-memory exception.
This does not appear to be related to strict generic checks (see #19662), as the exception still occurs when running tsc --noemit --watch --noStrictGenerics --project .
(presuming that the --noStrictGenerics
flag overrides the .tsconfig
).
This is possibly a dup of #19253. It's a large project (2700+ files) and we're hitting performances challenges generally so project size is likely a factor. I can't share the project as the code is proprietary, but would be happy to jump on a screen share to further diagnose if that would be helpful.
cc: @mhegazy