After reviewing the two builds you provided and some others within your build history, I can see several version changes occurring. While there may not be any intended changes, unless you fix the version specifically to your build, a newer version could be loaded at build time.
This one uses node version v16.16.0 while this one uses v16.17.1
On the surface, this appears to be a OOM error occurring. To help remove any unknown variables, I would suggest you explicitly configure the version you need for your site.