Skip to content

JavaScript heap out of memory #1740

Description

@timwhitez

What happened?

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

What did you expect to happen?

catch the error

Client information

Details
<--- Last few GCs --->

[1209110:0x40866000]   983782 ms: Mark-Compact 4090.6 (4119.2) -> 4086.8 (4119.4) MB, pooled: 2 MB, 166.98 / 0.01 ms  (average mu = 0.453, current mu = 0.079) allocation failure; scavenge might not succeed
[1209110:0x40866000]   983954 ms: Mark-Compact 4091.7 (4120.4) -> 4087.8 (4120.7) MB, pooled: 1 MB, 166.47 / 0.02 ms  (average mu = 0.294, current mu = 0.035) allocation failure; scavenge might not succeed


<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0xe13fde node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
 2: 0x11d5070 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 3: 0x11d5347 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 4: 0x1402c05  [node]
 5: 0x141c499 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 6: 0x13f0b48 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
 7: 0x13f1a75 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
 8: 0x13ca74e v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
 9: 0x182bd6c v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
10: 0x7bb8c7eac476
Aborted (core dumped)

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Labels

priority/p1Important and should be addressed in the near term.

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions