When running a build (first one triggered with merge) the build stalls and eventually fails. Upon rerunning manually the build succeeds. Repeatable.
In the log there is a warning message just prior the stall that says:
"The size of environment is 4862, make sure your build environment handles this correctly"
Is the build running out of java env and if so, how can I bump that up?