Netlify build error while deploying yarn workspaces website

Thanks for that @AhmadJ !

I looked into that build and our logs show the build exceeded 11GB of memory usage. This site is using the default build image which only guarantees up to 6 virtual CPU and 11 GB of memory. Although more is possible if the build system is not being heavily used at the time of build, that is the only guarantee.

You’ll want to try to reduce memory usage using our support guides:

and

You’ve mentioned seeing on average 4GiB of memory usage on your local build. You’ll want to test using the local build process mentioned in the first support guide :point_up: to make sure you’re emulating Netlify’s buildbot on your local machine.

Hope that helps, please keep us posted.