Skip to content

Commit 914e965

Browse files
sachillesJack12816
authored andcommitted
Increase memory to avoid heap limit allocation failure
1 parent bcbecd4 commit 914e965

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)