<--- Last few GCs ---> [21954:0x2fa3740] 449 ms: Scavenge 10.1 (14.9) -> 9.1 (19.9) MB, 16.6 / 0.0 ms allocation failure [21954:0x2fa3740] 810 ms: Scavenge 17.2 (24.4) -> 14.5 (26.4) MB, 12.4 / 0.0 ms allocation failure [21954:0x2fa3740] 1846 ms: Scavenge 30.7 (37.6) -> 29.6 (40.1) MB, 31.0 / 0.0 ms allocation failure [21954:0x2fa3740] 2082 ms: Scavenge 32.9 (40.1) -> 32.0 (51.1) MB, 42.8 / 0.0 ms allocation failure <--- JS stacktrace ---> Cannot get stack trace in GC. FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory 1: node::Abort() [/bin/node8] 2: 0x11e7fec [/bin/node8] 3: v8::Utils::ReportOOMFailure(char const*, bool) [/bin/node8] 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/bin/node8] 5: 0xad2f0b [/bin/node8] 6: v8::internal::MarkCompactCollector::Evacuate() [/bin/node8] 7: v8::internal::MarkCompactCollector::CollectGarbage() [/bin/node8] 8: v8::internal::Heap::MarkCompact() [/bin/node8] 9: v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/bin/node8] 10: v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/bin/node8] 11: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/bin/node8] 12: v8::internal::String::SlowFlatten(v8::internal::Handle, v8::internal::PretenureFlag) [/bin/node8] 13: v8::internal::parsing::ParseProgram(v8::internal::ParseInfo*, v8::internal::Isolate*) [/bin/node8] 14: 0xd999db [/bin/node8] 15: v8::internal::Compiler::GetSharedFunctionInfoForScript(v8::internal::Handle, v8::internal::Handle, int, int, v8::ScriptOriginOptions, v8::internal::Handle, v8::internal::Handle, v8::Extension*, v8::internal::ScriptData**, v8::ScriptCompiler::CompileOptions, v8::internal::NativesFlag) [/bin/node8] 16: v8::ScriptCompiler::CompileUnboundInternal(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions) [/bin/node8] 17: v8::ScriptCompiler::CompileUnboundScript(v8::Isolate*, v8::ScriptCompiler::Source*, v8::ScriptCompiler::CompileOptions) [/bin/node8] 18: 0x121b49e [/bin/node8] 19: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo const&)) [/bin/node8] 20: 0xb7aecf [/bin/node8] 21: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [/bin/node8] 22: 0x22aee8042fd timeout: the monitored command dumped core Aborted