Skip to content

Examples start error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #32

@jrichardsz

Description

@jrichardsz
  • I entered to the examples folder
  • npm install
  • npm run start

And the error was after more than 5 minutes:

Compiling...

<--- Last few GCs --->

[10206:0x6741180]   336250 ms: Scavenge 1757.6 (2076.7) -> 1744.4 (2078.0) MB, 7.3 / 0.0 ms  (average mu = 0.139, current mu = 0.129) allocation failure 
[10206:0x6741180]   336328 ms: Scavenge 1758.4 (2078.0) -> 1745.7 (2079.5) MB, 7.6 / 0.0 ms  (average mu = 0.139, current mu = 0.129) allocation failure 
[10206:0x6741180]   336414 ms: Scavenge 1760.4 (2079.5) -> 1746.1 (2080.0) MB, 9.3 / 0.0 ms  (average mu = 0.139, current mu = 0.129) allocation failure 


<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xb090e0 node::Abort() [node]
 2: 0xa1b70e  [node]
 3: 0xce1a20 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
 4: 0xce1dc7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
 5: 0xe99435  [node]
 6: 0xe99f16  [node]
 7: 0xea843e  [node]
 8: 0xea8e80 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 9: 0xeabdfe v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0xe6d33a v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
11: 0x11e61e6 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x15d9e59  [node]

Context

  • ubuntu 22
  • node v16.20.2
  • npm 8.19.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions