Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aws - build failed with oom javascript

I have a react project with codebuild service to deploy automatically to my S3 bucket after adding some libs I surprised with failed on build

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 
 1: node::Abort() [node] 

any hint why this happen

like image 659
Mina Fawzy Avatar asked Sep 10 '26 09:09

Mina Fawzy


1 Answers

this issue fixed by change the compute type to a larger one Thanks for shariqmaws

like image 173
Mina Fawzy Avatar answered Sep 13 '26 00:09

Mina Fawzy