Open dnish opened 7 years ago
Hey, when I add fabric via NPM to my project, my whole build crashes in production mode:
=> Started proxy. Minifying app code \ <--- Last few GCs ---> 76905 ms: Scavenge 1390.7 (1454.0) -> 1390.7 (1454.0) MB, 5.4 / 0 ms (+ 1.5 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep]. 77925 ms: Mark-sweep 1390.7 (1454.0) -> 1387.6 (1454.0) MB, 1019.5 / 0 ms (+ 7.5 ms in 68 steps since start of marking, biggest step 2.5 ms) [last resort gc]. 78858 ms: Mark-sweep 1387.6 (1454.0) -> 1390.3 (1454.0) MB, 933.4 / 0 ms [last resort gc]. <--- JS stacktrace ---> ==== JS stack trace ========================================= Security context: 0x9e915937399 <JS Object> 1: get [/Users/nisha/.meteor/packages/ssrwpo_uglifyjs2/.0.6.0.3hsa3f++os+web.browser+web.cordova/plugin.ssrwpo_uglifyjs2.os/npm/node_modules/meteor/babel-compiler/node_modules/babel-traverse/lib/path/index.js:~76] [pc=0x1bebdcd75c27] (this=0x180a7508f8b9 <JS Function NodePath (SharedFunctionInfo 0x1d21ee674549)>,_ref=0x36decfa0c829 <an Object with map 0x12a9a5971551>) 2: node [/Users/nis... FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory Abort trap: 6
try
export TOOL_NODE_FLAGS="--max-old-space-size=4096"
Hey, when I add fabric via NPM to my project, my whole build crashes in production mode: