Gatsby v4 Builds suddenly killed, exit code 137

Some extra info, I had a Gatsby V4 build work, but contrary to all other websites, this one is not connected to a CMS (Sanity), which makes sense as the other builds fail on GraphQL related stuff. Now the problem is not simply explaned by the connection to Sanity because the Gatsby V3 websites are also connected to Sanity and work, but still…