eEducation icon indicating copy to clipboard operation
eEducation copied to clipboard

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Open pramodhk opened this issue 5 years ago • 2 comments

10% building modules 3/4 modules 1 active …s/nsmiles.com-websiteapp/src/styles.css <--- Last few GCs --->

[9767:0x32934a0] 77925 ms: Mark-sweep 2012.2 (2051.1) -> 2011.6 (2051.3) MB, 2208.3 / 0.0 ms (average mu = 0.091, current mu = 0.001) allocation failure scavenge might not succeed [9767:0x32934a0] 80197 ms: Mark-sweep 2012.3 (2051.3) -> 2011.8 (2051.6) MB, 2270.5 / 0.0 ms (average mu = 0.048, current mu = 0.001) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

0: ExitFrame [pc: 0x13cf019]

Security context: 0x335e68d808d1 <JSObject> 1: visitLiteralExpr [0x36d7bb52b2f1] [/home/nsmiles/nsmiles.com-websiteapp/node_modules/@angular/compiler/src/output/output_ast.js:~1024] [pc=0x33322b17e0f7](this=0x20a0285426c1 <_ApplySourceSpanTransformer map = 0x3e909a663899>,0x20a0285423d9 <LiteralExpr map = 0x2ecc37715a19>,0x1c93ea4c01b9 ) 2: visitExpression [0x36d7bb528b01] [/home/nsmiles/nsmi...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0xa093f0 node::Abort() [ng] 2: 0xa097fc node::OnFatalError(char const*, char const*) [ng] 3: 0xb842ae v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [ng] 4: 0xb84629 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [ng] 5: 0xd30fe5 [ng] 6: 0xd31676 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [ng] 7: 0xd3def5 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [ng] 8: 0xd3eda5 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [ng] 9: 0xd4185c v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [ng] 10: 0xd0867d v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::RootIndex, int, v8::internal::Object, v8::internal::AllocationType) [ng] 11: 0xd08770 v8::internal::Handlev8::internal::FixedArray v8::internal::Factory::NewFixedArrayWithMapv8::internal::FixedArray(v8::internal::RootIndex, int, v8::internal::AllocationType) [ng] 12: 0xf26b99 v8::internal::HashTable<v8::internal::NameDictionary, v8::internal::NameDictionaryShape>::New(v8::internal::Isolate*, int, v8::internal::AllocationType, v8::internal::MinimumCapacity) [ng] 13: 0xf26bf9 v8::internal::BaseNameDictionary<v8::internal::NameDictionary, v8::internal::NameDictionaryShape>::New(v8::internal::Isolate*, int, v8::internal::AllocationType, v8::internal::MinimumCapacity) [ng] 14: 0xedc9f9 v8::internal::JSObject::MigrateToMap(v8::internal::Isolate*, v8::internal::Handlev8::internal::JSObject, v8::internal::Handlev8::internal::Map, int) [ng] 15: 0xefac25 v8::internal::LookupIterator::ApplyTransitionToDataProperty(v8::internal::Handlev8::internal::JSReceiver) [ng] 16: 0xf2bb01 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handlev8::internal::Object, v8::internal::PropertyAttributes, v8::Maybev8::internal::ShouldThrow, v8::internal::StoreOrigin) [ng] 17: 0xf2c6e7 v8::internal::Object::SetProperty(v8::internal::LookupIterator*, v8::internal::Handlev8::internal::Object, v8::internal::StoreOrigin, v8::Maybev8::internal::ShouldThrow) [ng] 18: 0x1060ca4 v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, v8::internal::StoreOrigin, v8::Maybev8::internal::ShouldThrow) [ng] 19: 0x1061e6a v8::internal::Runtime_SetKeyedProperty(int, unsigned long*, v8::internal::Isolate*) [ng] 20: 0x13cf019 [ng] Aborted (core dumped)

pramodhk avatar Aug 02 '20 08:08 pramodhk

as the error indicates, your project is OOM. When does this happen? Did you change anything to the project?

plutoless avatar Aug 03 '20 02:08 plutoless

Updated the node version to 12.18

pramodhk avatar Aug 13 '20 09:08 pramodhk