Skip to content

OOM issue in CLP webUI #2040

@goynam

Description

@goynam

Bug

Hi Team,

Getting below error :

<--- Last few GCs --->

[1:0x446fd000] 2018900739 ms: Mark-Compact 4047.3 (4135.6) -> 4046.9 (4135.6) MB, pooled: 0 MB, 745.14 / 0.00 ms (average mu = 0.626, current mu = 0.146) allocation failure; scavenge might not succeed
[1:0x446fd000] 2018902357 ms: Mark-Compact 4062.6 (4135.6) -> 4062.2 (4166.6) MB, pooled: 0 MB, 1586.82 / 0.00 ms (average mu = 0.307, current mu = 0.019) allocation failure; scavenge might not succeed

<--- JS stacktrace --->

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

1: 0xe36068 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/clp/bin/node-22]
2: 0x1202550 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/clp/bin/node-22]
3: 0x1202827 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/clp/bin/node-22]
4: 0x1430105 [/opt/clp/bin/node-22]
5: 0x1449999 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/clp/bin/node-22]
6: 0x141e048 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/clp/bin/node-22]
7: 0x141ef75 v8::inte

Can you please help troubleshoot this ?

some short term fix for getting unblocked as well as long term path.

CLP version

v0.8.0

Environment

Amazon Linux

Reproduction steps

Issue happening while opening CLP web ui

-> We were not running queries frequently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions