Closed
Description
TypeScript Version: 3.4.5
Search Terms: Composite, project references, out of memory
Expected behavior:
Building a large composite project where each component builds successfully should not run out of memory.
Actual behavior:
It looks like the same tsc
instance is being used to compile each phase, and the memory grows until it trips the node memory limit. Would it instead make sense to fork off a new tsc process for each phase, or force some sort of garbage collection?