Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build crashes when using fabric #7

Open
dnish opened this issue Aug 29, 2017 · 1 comment
Open

Build crashes when using fabric #7

dnish opened this issue Aug 29, 2017 · 1 comment

Comments

@dnish
Copy link

dnish commented Aug 29, 2017

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

@cameronrll
Copy link

try

export TOOL_NODE_FLAGS="--max-old-space-size=4096"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants