gitlab: increase node heap size limit

Without this change gitlab-ee's gitlab-assets fails to build with
JavaScript heap out of memory.

GitLab's own CI uses different limits between 5 to 10GBs, but 8GBs for
asset builds. (see https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/tasks/gitlab/assets.rake#L130)
This commit is contained in:
Leona Maroni
2024-12-11 10:46:27 +01:00
parent 79a7ad1c21
commit cb68aacc00
@@ -174,6 +174,7 @@ let
FOSS_ONLY = !gitlabEnterprise;
SKIP_YARN_INSTALL = 1;
NODE_OPTIONS = "--max-old-space-size=8192";
configurePhase = ''
runHook preConfigure