Skip to content

Herb linter 0.8.4 causes fatal error in nodejs (heap allocation limit) #993

@stevegeek

Description

@stevegeek

Running 0.7.x against this project does not result in this problem.

✓ Using Herb config file at .herb.yml

<--- Last few GCs --->

[307186:0x33677c60]    42409 ms: Mark-Compact 4011.5 (4136.3) -> 4003.3 (4142.3) MB, 862.13 / 0.00 ms  (average mu = 0.336, current mu = 0.012) allocation failure; scavenge might not succeed
[307186:0x33677c60]    44020 ms: Mark-Compact 4019.4 (4142.6) -> 4011.1 (4150.6) MB, 1598.40 / 0.00 ms  (average mu = 0.154, current mu = 0.008) allocation failure; scavenge might not succeed


<--- JS stacktrace --->

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

 1: 0xc8610c node::Abort() [node]
 2: 0xb754bc void node::FPrintF<>(_IO_FILE*, char const*) [node]
 3: 0xe83f6c v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 4: 0xe8413c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 5: 0x108be4c  [node]
 6: 0x10a2324 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 7: 0x107b08c v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
 8: 0x107be50 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
 9: 0x105bb8c v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
10: 0x146c934 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
11: 0x186da84  [node]
Aborted```

I'm not sure what information I might provide could help diagnose this, but of course happy to help provide more information as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions