Skip to content
Snippets Groups Projects
Commit 29995c15 authored by Ian Baum's avatar Ian Baum
Browse files

Merge branch 'fix-js-oom' into 'master'

Specify max_old_space_size env variable to Node for asset compilation

See merge request gitlab-org/omnibus-gitlab!2786
parents 7a7bd7c4 139277f2
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,8 @@
'RAILS_ENV' => 'production',
'PATH' => "#{install_dir}/embedded/bin:#{ENV['PATH']}",
'USE_DB' => 'false',
'SKIP_STORAGE_VALIDATION' => 'true'
'SKIP_STORAGE_VALIDATION' => 'true',
'NODE_OPTIONS' => '--max_old_space_size=3584'
}
assets_compile_env['NO_SOURCEMAPS'] = 'true' if ENV['NO_SOURCEMAPS']
command 'yarn install --pure-lockfile --production --cache-folder .yarn-cache'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment