Compile Assets - webpack - FATAL ERROR - process out of memory

Hi GitLab Team,

I encounter some difficulties with manual installation.

I succedded all steps exept on Asset compilation regarding Webpack.

I'm running on OVH VPS SSD with following specs :

  • 1x CPU Core 2,4 GHz
  • 2 Go RAM
  • SSD 10 Go
  • Operating System : Debian 8.9

Please find below : Check Environement Info returned

System information
System:         Debian 8.9
Current User:   git
Using RVM:      no
Ruby Version:   2.3.3p222
Gem Version:    2.5.2
Bundler Version:1.15.3
Rake Version:   10.5.0
Redis Version:  2.8.17
Git Version:    2.8.4
Sidekiq Version:5.0.0
Go Version:     go1.8.3 linux/amd64

GitLab information
Version:        9.4.3
Revision:       b125d21
Directory:      /home/git/gitlab
DB Adapter:     mysql2
URL:            http://gitlab.neoblaster.fr
HTTP Clone URL: http://gitlab.neoblaster.fr/some-group/some-project.git
SSH Clone URL:  git@gitlab.neoblaster.fr:some-group/some-project.git
Using LDAP:     no
Using Omniauth: no

GitLab Shell
Version:        5.3.1
Repository storage paths:
- default:      /home/git/repositories
Hooks:          /home/git/gitlab-shell/hooks
Git:            /usr/local/bin/git

Please find below : Check Application Status returned

Checking GitLab Shell ...

GitLab Shell version >= 5.3.1 ? ... OK (5.3.1)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:root, or git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ... can't check, you have no projects
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /home/git/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Sidekiq ...

Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Reply by email ...

Reply by email is disabled in config/gitlab.yml

Checking Reply by email ... Finished

Checking LDAP ...

LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab ...

Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... skipped (no tmp uploads folder yet)
Init script exists? ... yes
Init script up-to-date? ... yes
Projects have namespace: ... can't check, you have no projects
Redis version >= 2.8.0? ... yes
Ruby version >= 2.3.3 ? ... yes (2.3.3)
Git version >= 2.7.3 ? ... yes (2.8.4)
Active users: ... 1

Checking GitLab ... Finished

When i try to reach my GitLab, i get an error 500.

When i check GitLab logs, i saw :

Redirected to http://gitlab.neoblaster.fr/users/password/edit?reset_password_token=XXTOKENXX
Filter chain halted as :check_initial_setup rendered or redirected
Completed 302 Found in 434ms (ActiveRecord: 10.9ms)
Started GET "/users/password/edit?reset_password_token=[FILTERED]" for XX.103.YY.100 at 2017-08-03 20:44:24 +0200
Processing by PasswordsController#edit as HTML
  Parameters: {"reset_password_token"=>"[FILTERED]"}
Completed 500 Internal Server Error in 35ms (ActiveRecord: 0.9ms)

ActionView::Template::Error (Could not load compiled manifest from /home/git/gitlab/public/assets/webpack/manifest.json - have you run `rake webpack:compile`? (original error No such file or directory @ rb_sysopen - /home/git/gitlab/public/assets/webpack/manifest.json)):
    38:
    39:   = Gon::Base.render_data
    40:
    41:   = webpack_bundle_tag "webpack_runtime"
    42:   = webpack_bundle_tag "common"
    43:   = webpack_bundle_tag "locale"
    44:   = webpack_bundle_tag "main"
  app/helpers/webpack_helper.rb:12:in `gitlab_webpack_asset_paths'
  app/helpers/webpack_helper.rb:5:in `webpack_bundle_tag'
  app/views/layouts/_head.html.haml:41:in `_app_views_layouts__head_html_haml__2464949314748337300_47120776045140'
  app/views/layouts/devise.html.haml:3:in `_app_views_layouts_devise_html_haml__3884027772342005673_47120777393880'
  lib/gitlab/i18n.rb:45:in `with_locale'
  lib/gitlab/i18n.rb:51:in `with_user_locale'
  app/controllers/application_controller.rb:294:in `set_locale'
  lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in `call'
  lib/gitlab/middleware/multipart.rb:93:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/request_context.rb:18:in `call'
  lib/gitlab/metrics/requests_rack_middleware.rb:27:in `call'

When i try to compile asset, i get :

root@gitlab:/home/git/gitlab/log# sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
(in /home/git/gitlab)
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
warning "babel-core#babylon@^6.11.0" could be deduped from "6.16.1" to "babylon@6.16.1"
warning "babel-core#babel-template#babylon@^6.11.0" could be deduped from "6.16.1" to "babylon@6.16.1"
warning "express#accepts#mime-types@~2.1.11" could be deduped from "2.1.15" to "mime-types@2.1.15"
/home/git/gitlab/node_modules/.bin/webpack --config /home/git/gitlab/config/webpack.config.js --bail

<--- Last few GCs --->

[12162:0x3bf2ae0]    75145 ms: Scavenge 22.7 (26.6) -> 22.0 (26.6) MB, 15.4 / 0.5 ms  allocation failure
[12162:0x3bf2ae0]    75893 ms: Scavenge 23.0 (27.1) -> 22.3 (27.1) MB, 46.2 / 1.1 ms  allocation failure


<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x176ca5293471 <JS Object>
    1: getPath [/home/git/gitlab/node_modules/ajv/lib/compile/util.js:189] [pc=0x3254f31c2fe4](this=0x29542efad639 <an Object with map 0x32f35274cad1>,currentPath=0x26b3059501e9 <String[2]: "">,prop=0x2de0a638329 <String[8]: compiler>,jsonPointers=0x176ca5282241 <undefined>)
    2: code(aka generate_properties) [/home/git/gitlab/node_modules/ajv/lib/dotjs/properties.js:197] [pc=0x3254f31bc8e0](...

FATAL ERROR: Deoptimizer::EnsureCodeForDeoptimizationEntry Allocation failed - process out of memory
 1: node::Abort() [node]
 2: 0x135712c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: v8::internal::Deoptimizer::EnsureCodeForDeoptimizationEntry(v8::internal::Isolate*, v8::internal::Deoptimizer::BailoutType, int) [node]
 6: v8::internal::Deoptimizer::GetDeoptimizationEntry(v8::internal::Isolate*, int, v8::internal::Deoptimizer::BailoutType, v8::internal::Deoptimizer::GetEntryMode) [node]
 7: v8::internal::LCodeGen::DeoptimizeIf(v8::internal::Condition, v8::internal::LInstruction*, v8::internal::DeoptimizeReason, v8::internal::Deoptimizer::BailoutType) [node]
 8: v8::internal::LCodeGen::DoCheckMaps(v8::internal::LCheckMaps*) [node]
 9: v8::internal::LCodeGenBase::GenerateBody() [node]
10: v8::internal::LCodeGen::GenerateCode() [node]
11: v8::internal::LChunk::Codegen() [node]
12: v8::internal::HCompilationJob::FinalizeJobImpl() [node]
13: v8::internal::Compiler::FinalizeCompilationJob(v8::internal::CompilationJob*) [node]
14: v8::internal::OptimizingCompileDispatcher::InstallOptimizedFunctions() [node]
15: v8::internal::StackGuard::HandleInterrupts() [node]
16: v8::internal::Runtime_StackGuard(int, v8::internal::Object**, v8::internal::Isolate*) [node]
17: 0x3254f2f840c7
rake aborted!
Command failed with status (): [/home/git/gitlab/node_modules/.bin/webpack...]
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in `block (2 levels) in <top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => gitlab:assets:compile => webpack:compile
(See full trace by running task with --trace)

I know i'm using a VPS which have only 2GB of RAM, but in the documentation : https://docs.gitlab.com/ce/install/installation.html, we can find in step 8. Gitlab / Configure It

# Find number of cores
nproc

# Enable cluster mode if you expect to have a high load instance
# Set the number of workers to at least the number of cores
# Ex. change amount of workers to 3 for 2GB RAM server
sudo -u git -H editor config/unicorn.rb

I have already succeeded to install GitLab 6.9.2 without troubles.

I know it's not really bug, but i have no idea how to fix it.

Thanks for your support

Best Regards, Nicolas DUPRE.

UPDATE :

I found a message which ask to run command yarn install. I made it and try again.

I get the following message, with some similar error, but that seams to be good

root@gitlab:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
warning Optional dependency "assert-plus" not installed
error "glob" not installed
error "once" not installed
error "rimraf" not installed
warning "babel-core#babylon@^6.11.0" could be deduped from "6.16.1" to "babylon@6.16.1"
warning "babel-core#babel-template#babylon@^6.11.0" could be deduped from "6.16.1" to "babylon@6.16.1"
error "glob#fs.realpath" not installed
error "glob#inflight" not installed
error "eslint#is-my-json-valid" not installed
warning Optional dependency "compression-webpack-plugin#node-zopfli" not installed
error "once#wrappy" not installed
warning "express#accepts#mime-types@~2.1.11" could be deduped from "2.1.15" to "mime-types@2.1.15"
warning Optional dependency "node-zopfli#defaults" not installed
error "dom-serialize#extend" not installed
error "is-my-json-valid#generate-function" not installed
error "is-my-json-valid#generate-object-property" not installed
error "is-my-json-valid#jsonpointer" not installed
warning Optional dependency "node-zopfli#nan" not installed
error "generate-object-property#is-property" not installed
warning Optional dependency "node-pre-gyp#npmlog" not installed
warning Optional dependency "node-pre-gyp#rc" not installed
warning Optional dependency "node-pre-gyp#rimraf" not installed
warning Optional dependency "node-pre-gyp#tar-pack" not installed
warning Optional dependency "node-pre-gyp#tar" not installed
warning Optional dependency "npmlog#are-we-there-yet" not installed
warning Optional dependency "request#aws-sign2" not installed
warning Optional dependency "request#aws4" not installed
warning Optional dependency "tar#block-stream" not installed
warning Optional dependency "request#caseless" not installed
warning Optional dependency "request#combined-stream" not installed
warning Optional dependency "npmlog#console-control-strings" not installed
error "tar-pack#debug" not installed
warning Optional dependency "rc#deep-extend" not installed
warning Optional dependency "request#forever-agent" not installed
warning Optional dependency "request#form-data" not installed
warning Optional dependency "tar-pack#fstream-ignore" not installed
warning Optional dependency "npmlog#gauge" not installed
warning Optional dependency "request#har-validator" not installed
warning Optional dependency "request#hawk" not installed
warning Optional dependency "request#is-typedarray" not installed
warning Optional dependency "request#isstream" not installed
error "rc#minimist" not installed
warning Optional dependency "request#oauth-sign" not installed
warning Optional dependency "tar-pack#once" not installed
warning Optional dependency "request#qs" not installed
warning Optional dependency "tar-pack#readable-stream" not installed
warning Optional dependency "tar-pack#rimraf" not installed
warning Optional dependency "request#stringstream" not installed
warning Optional dependency "rc#strip-json-comments" not installed
warning Optional dependency "request#tough-cookie" not installed
warning Optional dependency "request#tunnel-agent" not installed
warning Optional dependency "tar-pack#uid-number" not installed
warning Optional dependency "request#uuid" not installed
warning Optional dependency "gauge#aproba" not installed
warning Optional dependency "http-signature#assert-plus" not installed
warning Optional dependency "form-data#asynckit" not installed
warning Optional dependency "hawk#boom" not installed
warning Optional dependency "hawk#cryptiles" not installed
warning Optional dependency "combined-stream#delayed-stream" not installed
warning Optional dependency "are-we-there-yet#delegates" not installed
warning Optional dependency "gauge#has-unicode" not installed
warning Optional dependency "hawk#hoek" not installed
warning Optional dependency "http-signature#jsprim" not installed
error "tar-pack#debug#ms" not installed
error "are-we-there-yet#readable-stream" not installed
warning Optional dependency "gauge#signal-exit" not installed
warning Optional dependency "hawk#sntp" not installed
warning Optional dependency "http-signature#sshpk" not installed
warning Optional dependency "gauge#supports-color" not installed
warning Optional dependency "gauge#wide-align" not installed
warning Optional dependency "sshpk#asn1" not installed
warning Optional dependency "sshpk#bcrypt-pbkdf" not installed
warning Optional dependency "sshpk#dashdash" not installed
warning Optional dependency "sshpk#ecc-jsbn" not installed
warning Optional dependency "jsprim#extsprintf" not installed
warning Optional dependency "sshpk#getpass" not installed
warning Optional dependency "sshpk#jodid25519" not installed
warning Optional dependency "sshpk#jsbn" not installed
warning Optional dependency "jsprim#json-schema" not installed
warning Optional dependency "sshpk#tweetnacl" not installed
warning Optional dependency "jsprim#verror" not installed
error Found 16 errors.
Error: You have unmet dependencies. (`yarn check` command failed)
Run `yarn install` to install missing modules.
root@gitlab:/home/git/gitlab# yarn install
yarn install v0.27.5
[1/4] Resolving packages...
[2/4] Fetching packages...
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
info "fsevents@1.0.17" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 41.70s.
root@gitlab:/home/git/gitlab# sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
warning "babel-core#babylon@^6.11.0" could be deduped from "6.16.1" to "babylon@6.16.1"
warning "babel-core#babel-template#babylon@^6.11.0" could be deduped from "6.16.1" to "babylon@6.16.1"
warning "express#accepts#mime-types@~2.1.11" could be deduped from "2.1.15" to "mime-types@2.1.15"
/home/git/gitlab/node_modules/.bin/webpack --config /home/git/gitlab/config/webpack.config.js --bail

<--- Last few GCs --->

[12889:0x3c4dae0]    82739 ms: Scavenge 656.8 (696.0) -> 653.5 (700.5) MB, 43.1 / 0.0 ms  allocation failure
[12889:0x3c4dae0]    82791 ms: Scavenge 661.3 (700.5) -> 659.1 (708.5) MB, 36.6 / 0.0 ms  allocation failure
[12889:0x3c4dae0]    82861 ms: Scavenge 669.3 (708.5) -> 666.4 (714.5) MB, 37.9 / 0.0 ms  allocation failure
[12889:0x3c4dae0]    82984 ms: Scavenge 675.0 (714.5) -> 672.5 (989.0) MB, 95.5 / 0.0 ms  allocation failure


<--- JS stacktrace --->
Cannot get stack trace in GC.
FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
 1: node::Abort() [node]
 2: 0x135712c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: 0xa0bb5b [node]
 6: v8::internal::MarkCompactCollector::EvacuateNewSpaceAndCandidates() [node]
 7: v8::internal::MarkCompactCollector::CollectGarbage() [node]
 8: v8::internal::Heap::MarkCompact() [node]
 9: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
10: v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*, v8::GCCallbackFlags) [node]
11: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
12: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
13: 0x8b71408ea5f
rake aborted!
Command failed with status (): [/home/git/gitlab/node_modules/.bin/webpack...]
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in `block (2 levels) in <top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => gitlab:assets:compile => webpack:compile
(See full trace by running task with --trace)
root@gitlab:/home/git/gitlab# /home/git/gitlab/node_modules/.bin/webpack --config /home/git/gitlab/config/webpack.config.js --bail
[12889:0x3c4dae0]    82861 ms: Scavenge 669.3 (708.5) -> 666.4 (714.5) MB, 37.9 / 0.0 ms  allocation failure
[12889:0x3c4dae0]    82984 ms: Scavenge 675.0 (714.5) -> 672.5 (989.0) MB, 95.5 / 0.0 ms  allocation failure


<--- JS stacktrace --->
Cannot get stack trace in GC.
FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
 1: node::Abort() [node]
 2: 0x135712c [node]
 3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
 5: 0xa0bb5b [node]
 6: v8::internal::MarkCompactCollector::EvacuateNewSpaceAndCandidates() [node]
 7: v8::internal::MarkCompactCollector::CollectGarbage() [node]
 8: v8::internal::Heap::MarkCompact() [node]
 9: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
10: v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*, v8::GCCallbackFlags) [node]
11: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
12: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
13: 0x8b71408ea5f
rake aborted!
Command failed with status (): [/home/git/gitlab/node_modules/.bin/webpack...]
/home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in `block (2 levels) in <top (required)>'
/usr/local/bin/bundle:22:in `load'
/usr/local/bin/bundle:22:in `<main>'
Tasks: TOP => gitlab:assets:compile => webpack:compile
(See full trace by running task with --trace)
Hash: 7fda4d9e41fdcc173fb1
Version: webpack 2.6.1
Time: 34547ms
                              Asset       Size                    Chunks                    Chunk Names
               monitoring.bundle.js    81.8 kB                monitoring  [emitted]         monitoring
7f6c63f374471c4da264a31dca499ed2.js     1.3 MB                            [emitted]  [big]
                     blob.bundle.js    39.4 kB                      blob  [emitted]         blob
                   boards.bundle.js     115 kB                    boards  [emitted]         boards
         commit_pipelines.bundle.js     124 kB          commit_pipelines  [emitted]         commit_pipelines
                   common.bundle.js     764 kB                    common  [emitted]  [big]  common
                common_d3.bundle.js     337 kB                 common_d3  [emitted]  [big]  common_d3
               common_vue.bundle.js     366 kB                common_vue  [emitted]  [big]  common_vue
          cycle_analytics.bundle.js    41.6 kB           cycle_analytics  [emitted]         cycle_analytics
              deploy_keys.bundle.js    27.3 kB               deploy_keys  [emitted]         deploy_keys
               diff_notes.bundle.js    43.7 kB                diff_notes  [emitted]         diff_notes
                     emoji.chunk.js     390 kB                     emoji  [emitted]  [big]  emoji
             environments.bundle.js     103 kB              environments  [emitted]         environments
      environments_folder.bundle.js     101 kB       environments_folder  [emitted]         environments_folder
          filtered_search.bundle.js     116 kB           filtered_search  [emitted]         filtered_search
                   graphs.bundle.js     133 kB                    graphs  [emitted]         graphs
                    group.bundle.js   42 bytes                     group  [emitted]         group
                   groups.bundle.js    41.6 kB                    groups  [emitted]         groups
              groups_list.bundle.js   54 bytes               groups_list  [emitted]         groups_list
             integrations.bundle.js    6.26 kB              integrations  [emitted]         integrations
               issue_show.bundle.js    93.5 kB                issue_show  [emitted]         issue_show
              job_details.bundle.js    58.6 kB               job_details  [emitted]         job_details
                   locale.bundle.js     360 kB                    locale  [emitted]  [big]  locale
                     main.bundle.js    1.24 MB                      main  [emitted]  [big]  main
          merge_conflicts.bundle.js    28.8 kB           merge_conflicts  [emitted]         merge_conflicts
          balsamiq_viewer.bundle.js    2.79 MB           balsamiq_viewer  [emitted]  [big]  balsamiq_viewer
                  network.bundle.js     329 kB                   network  [emitted]  [big]  network
          notebook_viewer.bundle.js     167 kB           notebook_viewer  [emitted]         notebook_viewer
             pdf.worker.js.chunk.js    1.29 MB             pdf.worker.js  [emitted]  [big]
               pdf_viewer.bundle.js     424 kB                pdf_viewer  [emitted]  [big]  pdf_viewer
          performance_bar.bundle.js   62 bytes           performance_bar  [emitted]         performance_bar
                pipelines.bundle.js     137 kB                 pipelines  [emitted]         pipelines
        pipelines_details.bundle.js    90.8 kB         pipelines_details  [emitted]         pipelines_details
                  profile.bundle.js    94.8 kB                   profile  [emitted]         profile
       prometheus_metrics.bundle.js    7.18 kB        prometheus_metrics  [emitted]         prometheus_metrics
       protected_branches.bundle.js    14.7 kB        protected_branches  [emitted]         protected_branches
           protected_tags.bundle.js   66 bytes            protected_tags  [emitted]         protected_tags
                    raven.bundle.js     102 kB                     raven  [emitted]         raven
            schedule_form.bundle.js    22.2 kB             schedule_form  [emitted]         schedule_form
          schedules_index.bundle.js    9.48 kB           schedules_index  [emitted]         schedules_index
                  sidebar.bundle.js    40.9 kB                   sidebar  [emitted]         sidebar
            sketch_viewer.bundle.js     557 kB             sketch_viewer  [emitted]  [big]  sketch_viewer
                  snippet.bundle.js  669 bytes                   snippet  [emitted]         snippet
               stl_viewer.bundle.js    1.08 MB                stl_viewer  [emitted]  [big]  stl_viewer
                 terminal.bundle.js     772 kB                  terminal  [emitted]  [big]  terminal
                     test.bundle.js  299 bytes                      test  [emitted]         test
                      u2f.bundle.js    22.8 kB                       u2f  [emitted]         u2f
                    users.bundle.js    9.85 kB                     users  [emitted]         users
 vue_merge_request_widget.bundle.js     137 kB  vue_merge_request_widget  [emitted]         vue_merge_request_widget
          webpack_runtime.bundle.js    7.84 kB           webpack_runtime  [emitted]         webpack_runtime
                      manifest.json    17.8 kB                            [emitted]
[./blob/balsamiq_viewer.js] ./blob/balsamiq_viewer.js 496 bytes {balsamiq_viewer} [built]
[./blob/notebook_viewer.js] ./blob/notebook_viewer.js 104 bytes {notebook_viewer} [built]
[./blob/pdf_viewer.js] ./blob/pdf_viewer.js 89 bytes {pdf_viewer} [built]
[./blob/sketch_viewer.js] ./blob/sketch_viewer.js 210 bytes {sketch_viewer} [built]
[./blob/stl_viewer.js] ./blob/stl_viewer.js 587 bytes {stl_viewer} [built]
[./blob_edit/blob_bundle.js] ./blob_edit/blob_bundle.js 1.08 kB {blob} [built]
[./boards/boards_bundle.js] ./boards/boards_bundle.js 5.67 kB {boards} [built]
[./prometheus_metrics/index.js] ./prometheus_metrics/index.js 201 bytes {prometheus_metrics} [built]
[./snippet/snippet_bundle.js] ./snippet/snippet_bundle.js 347 bytes {snippet} [built]
[./terminal/terminal_bundle.js] ./terminal/terminal_bundle.js 265 bytes {terminal} [built]
[./test.js] ./test.js 16 bytes {test} [built]
[./users/users_bundle.js] ./users/users_bundle.js 20 bytes {users} [built]
[./vue_merge_request_widget/index.js] ./vue_merge_request_widget/index.js 268 bytes {vue_merge_request_widget} [built]
[./webpack.js] ./webpack.js 343 bytes {webpack_runtime} [built]
[multi vue ./vue_shared/common_vue.js] multi vue ./vue_shared/common_vue.js 40 bytes {common_vue} [built]
    + 1147 hidden modules
root@gitlab:/home/git/gitlab#
root@gitlab:/home/git/gitlab# <--- Last few GCs --->
-bash: syntax error near unexpected token `newline'
root@gitlab:/home/git/gitlab#
root@gitlab:/home/git/gitlab# [12889:0x3c4dae0]    82739 ms: Scavenge 656.8 (696.0) -> 653.5 (700.5) MB, 43.1 / 0.0 ms  allocation failure
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# [12889:0x3c4dae0]    82791 ms: Scavenge 661.3 (700.5) -> 659.1 (708.5) MB, 36.6 / 0.0 ms  allocation failure
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# [12889:0x3c4dae0]    82861 ms: Scavenge 669.3 (708.5) -> 666.4 (714.5) MB, 37.9 / 0.0 ms  allocation failure
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# [12889:0x3c4dae0]    82984 ms: Scavenge 675.0 (714.5) -> 672.5 (989.0) MB, 95.5 / 0.0 ms  allocation failure
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab#
root@gitlab:/home/git/gitlab#
root@gitlab:/home/git/gitlab# <--- JS stacktrace --->
-bash: syntax error near unexpected token `newline'
root@gitlab:/home/git/gitlab# Cannot get stack trace in GC.
-bash: Cannot: command not found
root@gitlab:/home/git/gitlab# FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
-bash: FATAL: command not found
root@gitlab:/home/git/gitlab#  1: node::Abort() [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab#  2: 0x135712c [node]
-bash: 2:: command not found
root@gitlab:/home/git/gitlab#  3: v8::Utils::ReportOOMFailure(char const*, bool) [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab#  4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab#  5: 0xa0bb5b [node]
-bash: 5:: command not found
root@gitlab:/home/git/gitlab#  6: v8::internal::MarkCompactCollector::EvacuateNewSpaceAndCandidates() [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab#  7: v8::internal::MarkCompactCollector::CollectGarbage() [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab#  8: v8::internal::Heap::MarkCompact() [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab#  9: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# 10: v8::internal::Heap::CollectGarbage(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*, v8::GCCallbackFlags) [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# 11: v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# 12: v8::internal::Runtime_AllocateInTargetSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# 13: 0x8b71408ea5f
-bash: 13:: command not found
root@gitlab:/home/git/gitlab# rake aborted!
rake aborted!
Gem::LoadError: You have already activated rake 10.4.2, but your Gemfile requires rake 10.5.0. Prepending `bundle exec` to your command may solve this.
/home/git/gitlab/config/boot.rb:6:in `<top (required)>'
/home/git/gitlab/config/application.rb:1:in `<top (required)>'
/home/git/gitlab/Rakefile:5:in `<top (required)>'
LoadError: cannot load such file -- bundler/setup
/home/git/gitlab/config/boot.rb:6:in `<top (required)>'
/home/git/gitlab/config/application.rb:1:in `<top (required)>'
/home/git/gitlab/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
root@gitlab:/home/git/gitlab# Command failed with status (): [/home/git/gitlab/node_modules/.bin/webpack...]
-bash: syntax error near unexpected token `('
root@gitlab:/home/git/gitlab# /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in `block (2 levels) in <top (required)>'
> /usr/local/bin/bundle:22:in `load'
> /usr/local/bin/bundle:22:in `<main>'
-bash: command substitution: line 1: syntax error near unexpected token `2'
-bash: command substitution: line 1: `block (2 levels) in <top (required)>''
-bash: /home/git/gitlab/vendor/bundle/ruby/2.3.0/gems/webpack-rails-0.9.10/lib/tasks/webpack.rake:17:in: No such file or directory
root@gitlab:/home/git/gitlab# Tasks: TOP => gitlab:assets:compile => webpack:compile
-bash: Tasks:: command not found
root@gitlab:/home/git/gitlab# (See full trace by running task with --trace)
-bash: See: command not found
root@gitlab:/home/git/gitlab#

So it's currently not an issue. I would like to place it in PENDING, because i have no time to make more test, but do you think these erros are blocking ?

Thank a lot

Best Regards, Nicolas DUPRE

Edited by DUPRE Nicolas