Getting 'ts type check out of memory' errors in TypeScript—anyone else facing this issue?

18 Replies, 1043 Views

Yo, thanks for all the tips, y’all! 🙌

I tried the `skipLibCheck` and `incremental` options, and it’s definitely helping a bit. Still getting the occasional "ts type check out of memory" error, but it’s less frequent now.

Gonna try the `tsc --diagnostics` thing next—sounds like it could help me figure out where the memory’s going.

Also, anyone know if there’s a way to limit the number of files TS checks at once? Like, can I make it process files in batches or something? 🤔

Messages In This Thread



Users browsing this thread: 1 Guest(s)