Jamstack Hugo pipeline OOM'ing in build
Within the API spec host project, part of the build to Hugo is to transpile Open API specification files into HTML files using a library in the NPM registry. This is done within the context of the Jamstack Hugo pipeline for build simplicity, and previously had no issues. I've been attempting to do an upgrade to use the new version of the package as the previous package was deprecated, and have been having failed builds.
From what I can tell looking online, these might be OOM errors, indicated by the 137 code within the script runs error before an error exit with code 1. Looking into the Preview.groovy file, I can't see any way to affect the RAM allocated to the container or what the allocation is by default. I wanted to check in if it would be possible to change that easily, or if I should change the build file to do operations synchronously to reduce the memory impact at build time and just have a slower build.