Can't understand why my Gatsby Build fails: Build script returned non-zero exit code: 2

Hi @o.deangelis

On a Pro account, the memory allocation should be 11GB. If you look at the chart I posted for you previously, you’ll see that you are still hitting that 11GB limit in your build.

The info on what resources are allocated to your build environment is not on the pricing page. That info can be found here: [Support Guide] Making sure your builds use appropriate resources for Netlify's build system. The information in that support guide is up to date and we modify it when the build environment changes.