-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
I've been having issues with the typescript compiler eating up lots of memory.
A run of tsc in my current project reaches around 1.1-1.2GB memory before completion.
This has been causing issues when using awesome-typescript-loader through webpack. It actually crashes after a little while because it exceeds a memory limit (1.5GB i believe)
This seems to be caused in part by a memory leak in ATL, but the memory use of tsc on its own is bordering on extreme.
I have an issue open on that project as well s-panferov/awesome-typescript-loader#227
I would suspect however, that with a project large enough, tsc could exceed the memory limit on its own.
I can provide an example project if needed.
Node: 6.5.0
TS: 2.0.2
halfzebra, guncha, ChrisJamesC, jimior2 and wizzard0
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issue