CALL_AND_RETRY_LAST Allocation failed

#1

Hei Folks, I got this error while trying to run ember serve command. Below it’s the full error log.

<— Last few GCs —> [3592:0000000000326B60] 439541 ms: Mark-sweep 1137.9 (1196.8) -> 1137.9 (1196.8) MB, 778.7 / 0.0 ms allocation failure GC in old space requested [3592:0000000000326B60] 440308 ms: Mark-sweep 1137.9 (1196.8) -> 1137.7 (1165.8) MB, 767.1 / 0.0 ms last resort GC in old space requested [3592:0000000000326B60] 441083 ms: Mark-sweep 1137.7 (1165.8) -> 1137.7 (1165.3) MB, 774.3 / 0.0 ms last resort GC in old space requested <— JS stacktrace —>

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

Security context: 0000029DB0AA58B9 <JSObject>

1: DoJoin(aka DoJoin) [native array.js:~94] [pc=0000027410CCDB03](this=00000279119022D1 <undefined>,o=000001A1EBF3C889 <JSArray[6965386]>,p=6965386,D=0000027911902371 <true>,z=0000032594BBB7C9 <String[1]: \x00>,y=00000279119023E1 <false>) 2: Join(aka Join) [native array.js:~119] [pc=0000027410CC8E7E](this=00000279119022D1 <undefined>,o=000001A1EBF3C889 <JSArray[6965386]>,p=6965386,z=0…

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

1: node_module_register 2: v8::internal::FatalProcessOutOfMemory 3: v8::internal::FatalProcessOutOfMemory 4: v8::internal::factory::NewRawTwoByteString 5: v8::internal::AsmJsScanner::IsNumberStart 6: 0000027410B843C1

Here is my package.json file on Pastebin also I’m using NodeJs v8.15.1 on Windows 7 x64

My question is what’s wrong with my app? It never happen before on my app. What should I do to fix this error?

0 Likes

#2

We use Ember on Windows 10 x64 but with this setting in our package.json. Not sure this has to do with your failures but it seems node.js related. Perhaps go to node.js 10.15.3 ?

  "engines": {
    "node": "6.* || 8.* || >= 10.*"
  }
0 Likes