Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSC allocates a lot of memory and crashes with an error #8352

Closed
lexon0011 opened this issue Apr 28, 2016 · 6 comments
Closed

TSC allocates a lot of memory and crashes with an error #8352

lexon0011 opened this issue Apr 28, 2016 · 6 comments
Labels
Duplicate An existing issue was already created

Comments

@lexon0011
Copy link

I create a really small angular 2 app, where I can demonstrate that the TSC allocate a lot of memory. The command tsc -w crashes after a certain amount of time with the following error message:

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

You can reproduce it with this repository

  • clone the repository: git clone https://github.com/lexon0011/IssueDemonstrator
  • install the packages: npm install
  • install typings: typings install
  • star watching: tsc -w or or start the application: npm run start-dev

I use the version 1.8.10.

Is that a bug or a configuration error (e.g tsconfig.json)?? What goes wrong here?

2016-04-28 16_44_46-windows task-manager

@mhegazy
Copy link
Contributor

mhegazy commented Apr 28, 2016

this looks like the same issue as #7344. updating to a newer RxJS (later than 5.0.0-beta.2) should address the issue.

@mhegazy mhegazy added the Duplicate An existing issue was already created label Apr 28, 2016
@lexon0011
Copy link
Author

Thanks, but the problem is, that angular 2 has RxJS beta.2 as dependency

@mhegazy
Copy link
Contributor

mhegazy commented Apr 28, 2016

@alexeagle what is the recommendation to get a newer version of RxJS?

@alexeagle
Copy link
Contributor

current angular 2 releases use more recent rxjs (I believe we are on beta.6 now)

@mhegazy
Copy link
Contributor

mhegazy commented Apr 29, 2016

thanks @alexeagle!

@mhegazy mhegazy closed this as completed Apr 29, 2016
@lexon0011
Copy link
Author

Thanks.
Today Angular 2 Beta 7 was published. The dependency was changed to RxJS Beta 6. Now TSC also looks better :)

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants