Project

General

Profile

Actions

Bug #26826

closed

Plugin fails to compile webpack with out of memory error

Added by Tomer Brisker about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
JavaScript stack
Target version:

Description

Katello build process is currently failing with:

[2019-05-17T22:52:44.782Z] /home/jenkins/workspace/katello-master-source-release/foreman/node_modules/webpack/bin/webpack.js --config /home/jenkins/workspace/katello-master-source-release/foreman/config/webpack.config.js --bail --env.pluginName=katello

[2019-05-17T22:58:36.386Z] 

[2019-05-17T22:58:36.388Z] <--- Last few GCs --->

[2019-05-17T22:58:36.388Z] 

[2019-05-17T22:58:36.388Z]   337446 ms: Mark-sweep 1219.4 (1438.7) -> 1217.7 (1436.7) MB, 1841.7 / 0.0 ms [allocation failure] [GC in old space requested].

[2019-05-17T22:58:36.388Z]   339438 ms: Mark-sweep 1217.7 (1436.7) -> 1217.7 (1436.7) MB, 1991.2 / 0.0 ms [allocation failure] [GC in old space requested].

[2019-05-17T22:58:36.388Z]   341519 ms: Mark-sweep 1217.7 (1436.7) -> 1228.8 (1420.7) MB, 2081.2 / 0.0 ms [last resort gc].

[2019-05-17T22:58:36.388Z]   343555 ms: Mark-sweep 1228.8 (1420.7) -> 1240.2 (1420.7) MB, 2035.2 / 0.0 ms [last resort gc].

[2019-05-17T22:58:36.388Z] 

[2019-05-17T22:58:36.388Z] 

[2019-05-17T22:58:36.388Z] <--- JS stacktrace --->

[2019-05-17T22:58:36.388Z] 

[2019-05-17T22:58:36.388Z] ==== JS stack trace =========================================

[2019-05-17T22:58:36.388Z] 

[2019-05-17T22:58:36.388Z] Security context: 0x1da44b7cf781 <JS Object>

[2019-05-17T22:58:36.388Z]     2: /* anonymous */ [/home/jenkins/workspace/katello-master-source-release/foreman/node_modules/source-map/lib/source-node.js:~86] [pc=0x3e2656b9686f] (this=0x1022fa313f49 <JS Function SourceNode (SharedFunctionInfo 0x2acbe78e6931)>,mapping=0x146a343bde31 <an Object with map 0x297b51245391>)

[2019-05-17T22:58:36.388Z]     3: arguments adaptor frame: 3->1

[2019-05-17T22:58:36.388Z]     4: InnerArrayForEach(aka InnerArrayForEach) [native array.js...

[2019-05-17T22:58:36.388Z] 

[2019-05-17T22:58:36.388Z] FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

[2019-05-17T22:58:36.388Z]  1: node::Abort() [node]

[2019-05-17T22:58:36.388Z]  2: 0x710f9c [node]

[2019-05-17T22:58:36.388Z]  3: v8::Utils::ReportApiFailure(char const*, char const*) [node]

[2019-05-17T22:58:36.388Z]  4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [node]

[2019-05-17T22:58:36.388Z]  5: v8::internal::Factory::NewUninitializedFixedArray(int) [node]

[2019-05-17T22:58:36.388Z]  6: 0xa7e48f [node]

[2019-05-17T22:58:36.388Z]  7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [node]

[2019-05-17T22:58:36.388Z]  8: 0x3e26559079a7

[2019-05-17T22:58:36.388Z] rake aborted!
</pre

Actions

Also available in: Atom PDF