Closed
Description
Spin-off of #16165.
On large project with (very rough ball park) 100k .ts
lines and another ~50k .d.ts
lines, tsc --watch
will consistently run out of memory after >= dozen recompiles.
TypeScript Version: 2.3
tsconfig.json
:
{
"compilerOptions": {
"experimentalDecorators": true,
"noImplicitAny": true,
"noResolve": false,
"target": "ES5"
}
}
Eventual error:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory