<--- Last few GCs ---> [2211:0x2ca0740] 5714 ms: Scavenge 152.1 (175.8) -> 137.4 (176.8) MB, 3.6 / 0.0 ms allocation failure [2211:0x2ca0740] 5756 ms: Scavenge 152.6 (176.8) -> 137.9 (177.8) MB, 4.0 / 0.0 ms allocation failure [2211:0x2ca0740] 5800 ms: Scavenge 153.1 (177.8) -> 138.5 (178.8) MB, 7.9 / 0.0 ms allocation failure [2211:0x2ca0740] 5861 ms: Scavenge 153.6 (178.8) -> 139.0 (178.8) MB, 4.9 / 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::ReplacementStringBuilder::ToString() [/bin/node8] 13: 0x10b210e [/bin/node8] 14: 0x10b2f68 [/bin/node8] 15: v8::internal::Runtime_RegExpReplace(int, v8::internal::Object**, v8::internal::Isolate*) [/bin/node8] 16: 0x386ddf6042fd timeout: the monitored command dumped core