When I deploy my app I get the following error from render:
Exited with status 134 while running your code.
I’ve tested multiple times and my app runs fine in my machine. I’ve read a bit about the issue and it looks like it’s a memory allocation issue. I’m almost 100% that my code has no memory leaks, but I could be wrong.
This is the complete stack:
<— Last few GCs —>
Mar 6 04:07:38 AM
Mar 6 04:07:38 AM[75:0x6017bc0] 120000 ms: Mark-Compact 251.3 (259.0) → 250.5 (259.0) MB, 2600.90 / 0.00 ms (average mu = 0.098, current mu = 0.002) allocation failure; scavenge might not succeed
Mar 6 04:07:38 AM[75:0x6017bc0] 122701 ms: Mark-Compact 251.5 (259.0) → 250.7 (259.0) MB, 2507.84 / 0.00 ms (average mu = 0.085, current mu = 0.072) allocation failure; scavenge might not succeed
Mar 6 04:07:38 AM
Mar 6 04:07:38 AM
Mar 6 04:07:38 AM<— JS stacktrace —>
Mar 6 04:07:38 AM
Mar 6 04:07:38 AMFATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Mar 6 04:07:38 AM----- Native stack trace -----
Mar 6 04:07:38 AM
Mar 6 04:07:38 AM 1: 0xca5580 node::Abort() [node]
Mar 6 04:07:38 AM 2: 0xb781f9 [node]
Mar 6 04:07:38 AM 3: 0xeca4d0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
Mar 6 04:07:38 AM 4: 0xeca7b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
Mar 6 04:07:38 AM 5: 0x10dc505 [node]
Mar 6 04:07:38 AM 6: 0x10dca94 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
Mar 6 04:07:38 AM 7: 0x10f3984 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [node]
Mar 6 04:07:38 AM 8: 0x10f419c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
Mar 6 04:07:38 AM 9: 0x10ca4a1 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
Mar 6 04:07:38 AM10: 0x10cb635 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
Mar 6 04:07:38 AM11: 0x10a8c86 v8::internal::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
Mar 6 04:07:38 AM12: 0x1503a16 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
Mar 6 04:07:38 AM13: 0x193cef6 [node]
Mar 6 04:07:38 AMAborted (core dumped)