Skip to content

Commit cde9b4e

Browse files
committed
Increase memory to avoid heap limit allocation failure
1 parent b3247e4 commit cde9b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/build/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ chown ${GITLAB_USER}: ${GITLAB_INSTALL_DIR}/config/database.yml
215215
exec_as_git yarn install --production --pure-lockfile
216216

217217
echo "Compiling assets. Please be patient, this could take a while..."
218-
exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=4096"
218+
exec_as_git bundle exec rake gitlab:assets:compile USE_DB=false SKIP_STORAGE_VALIDATION=true NODE_OPTIONS="--max-old-space-size=8192"
219219

220220
# remove auto generated ${GITLAB_DATA_DIR}/config/secrets.yml
221221
rm -rf ${GITLAB_DATA_DIR}/config/secrets.yml

0 commit comments

Comments
 (0)