-
Notifications
You must be signed in to change notification settings - Fork 26.2k
FATAL ERROR: Committing semi space failed. Allocation failed #37541
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
Comments
Hi @gayankasun, it looks like similar issues are also reported in angular/angular-cli#16860, so I'm transferring this ticket to the Angular CLI repo for further investigation. Thank you. |
This is actually caused by NGCC, so back to the FW 😀 |
I'm afraid we can't diagnose the cause of this issue without being able to reproduce ourselves. You can try running
Alternatively/additionally, you could try passing the |
I was also running into this issue in Azure Devops pipelines which started around the same timeframe on 6/10/2020. I resolved my issue by committing package-lock.json. I believe my particular issue was caused by the build agent installing a slightly different npm dependency version on one or more packages. I believe package-lock.json file fixed it by installing the exact same dependencies on the azure build agent that I have locally on my machine. Most likely an issue with the version of "@angular-devkit/build-angular". |
I have found the reason for it. its because of latest angular cli version. its working fine with angular/cli = 9.1.6", |
Based on the comments and the investigation I did for angular/angular-cli#18087, I'm pretty certain this has the same cause. See angular/angular-cli#18087 (comment) for details. CLI 9.1.10 and 10.0.1 contain the fix. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
My project got build failed in Devops. But its succssfully got build in my pc with same command
any reason for that?
Command : node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng build --

configuration=prod
Angular version : 9.1.7
Node version :v12.17.0
The text was updated successfully, but these errors were encountered: