Skip to content

Very high memory usage #10759

Closed
Closed
@mvestergaard

Description

@mvestergaard

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

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions