I’m trying to fix
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
Source code available in Github
That throws me meteor build
that i need for github-to-heroku see on TravisCI is the same (first build fail, one of latest build, or others from history) also with flags NODE_OPTIONS='--max_old_space_size=2048'
see build but no luck.
$ meteor build --architecture=os.linux.x86_64 --directory $HOME/app --server=http://localhost:3000
Linking /
<— Last few GCs —>554828 ms: Mark-sweep 1371.5 (1456.7) -> 1372.3 (1456.7) MB, 1318.0 / 0 ms [allocation failure] [GC in old space requested].
556181 ms: Mark-sweep 1372.3 (1456.7) -> 1372.3 (1456.7) MB, 1353.5 / 0 ms [allocation failure] [GC in old space requested]. 557516 ms: Mark-sweep 1372.3 (1456.7) -> 1372.3 (1456.7) MB, 1334.7 / 0 ms [last resort gc].
558860 ms: Mark-sweep 1372.3 (1456.7) -> 1372.2 (1456.7) MB, 1343.8 / 0 ms [last resort gc].<— JS stacktrace —>
==== JS stack trace =========================================
Security context: 0x380c072b4629
1: registerScope(aka registerScope) [/home/travis/.meteor/packages/meteor-tool/.1.4.0-1.13j49n2++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/escope/lib/scope.js:~124] [pc=0x1ca7b93c537b] (this=0x380c072041b9 ,scopeManager=0x244af2747bc1 < a ScopeManager with map 0x32342b9b37b9>,scope=0x216a6604fa09 < a BlockScope with map 0xc1aa2c73441>)
…FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory