summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/version-management/gitlab
diff options
context:
space:
mode:
authortalyz <kim.lindberger@gmail.com>2019-11-04 16:46:05 +0100
committertalyz <kim.lindberger@gmail.com>2019-11-06 10:56:20 +0100
commit22302ce845bb1dfc61cb0c3bf62a051d81c5a326 (patch)
tree7b39005e63d565d6e9ee06d109e1623bcc59b39e /pkgs/applications/version-management/gitlab
parenta30facc96e4059964784468c31db103bb9495028 (diff)
gitlab: Limit node memory consumption to 2048MB
Hydra fails to build the assets on i686 - it runs out of memory. If we limit the max consumption to 2048MB the assets still build, and will hopefully also build on hydra.
Diffstat (limited to 'pkgs/applications/version-management/gitlab')
-rw-r--r--pkgs/applications/version-management/gitlab/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix
index e6ed0ef53a22..0075f91ae2d8 100644
--- a/pkgs/applications/version-management/gitlab/default.nix
+++ b/pkgs/applications/version-management/gitlab/default.nix
@@ -76,7 +76,7 @@ let
bundle exec rake gettext:po_to_json RAILS_ENV=production NODE_ENV=production
bundle exec rake rake:assets:precompile RAILS_ENV=production NODE_ENV=production
- bundle exec rake webpack:compile RAILS_ENV=production NODE_ENV=production NODE_OPTIONS="--max_old_space_size=4096"
+ bundle exec rake webpack:compile RAILS_ENV=production NODE_ENV=production NODE_OPTIONS="--max_old_space_size=2048"
bundle exec rake gitlab:assets:fix_urls RAILS_ENV=production NODE_ENV=production
runHook postBuild