Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pramodhk opened this issue Aug 2, 2020 · 2 comments

Comments

@pramodhk
Copy link

pramodhk commented Aug 2, 2020

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
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 ,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)

@plutoless
Copy link
Owner

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

@pramodhk
Copy link
Author

Updated the node version to 12.18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants