From cde9b4e320849eb4f6f016c30a5eb973a86effef Mon Sep 17 00:00:00 2001 From: Steven Achilles Date: Thu, 15 May 2025 22:28:17 +0200 Subject: [PATCH] Increase memory to avoid heap limit allocation failure --- assets/build/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/build/install.sh b/assets/build/install.sh index 81b4201a..6163e612 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -215,7 +215,7 @@ chown ${GITLAB_USER}: ${GITLAB_INSTALL_DIR}/config/database.yml exec_as_git yarn install --production --pure-lockfile echo "Compiling assets. Please be patient, this could take a while..." -exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=4096" +exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=8192" # remove auto generated ${GITLAB_DATA_DIR}/config/secrets.yml rm -rf ${GITLAB_DATA_DIR}/config/secrets.yml