The error in your first screenshot shows “killed” as the error message, which means your build tried to use more than the 11 GB allocated RAM. This cannot be changed.
Hi Hrishikesh Kokate, when I change the “max-old-space-size” to 4096 does not solve the problem.
With that change or without the change I keep getting error codes 134 or 137.
What I find very strange is that the problem is not constant, sometimes the build is successfully finished by just giving it a retry. I would like to ask you if the agents are shared, that is, in the same agent you can run different compilations.
Secondly, I can disable the installation of Python, Go, and Ruby. We only use NodeJS.
Here are some recent links with the different errors.
I’m not sure what more to suggest, @dcadenaallan. Even in the links you shared:
This again failed with the Heap issue that I mentioned earlier. Not sure if increasing the heap size further would work or not, but that’s the only solution for it.
It was almost close to crashing as well. It does look like your build process is going out of platform limitations.
The only suggestion or workaround you can use right now is to build locally and deploy via CLI, or move that process to GitHub Actions or something so you can deploy from there.
Netlify CLI is not really meant to do branch deploys - and they don’t even work as real branch deploys. Sure, you can set an alias, but that’s about it.
I believe your issue is happening due to specifying the alias flag. I haven’t checked in detail for your site, but if you used to have a branch deploy with the same name that you’re trying to set as an alias, it would cause content not updating issue.