-
Notifications
You must be signed in to change notification settings - Fork 127
Description
When i run the command jsinspect ./myfolder/ it results in out of memory issue.
<--- Last few GCs --->
[79346:0x103801600] 27292 ms: Mark-sweep 1369.3 (1445.8) -> 1358.1 (1447.3) MB, 959.0 / 0.2 ms (average mu = 0.122, current mu = 0.068) allocation failure scavenge might not succeed
[79346:0x103801600] 28349 ms: Mark-sweep 1372.3 (1447.8) -> 1361.1 (1449.3) MB, 989.9 / 0.2 ms (average mu = 0.093, current mu = 0.063) allocation failure scavenge might not succeed<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x3f21725be3d]Security context: 0x145d8079e6e1
1: _insert [0x145d574a83e1] [/usr/local/lib/node_modules/jsinspect/lib/inspector.js:~142] [pc=0x3f21791c0ad](this=0x145d9c582271 ,nodes=0x145d017f2309 <JSArray[30]>)
2: /* anonymous /(aka / anonymous */) [0x145d017ee941] [/usr/local/lib/node_modules/jsinspect/lib/inspector.js:64] [bytecode=0x145dabc68fb1 offset=11]...FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x10003ae75 node::Abort() [/usr/local/bin/node]
2: 0x10003b07f node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001a7ae5 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x100572ef2 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
5: 0x1005759c5 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
6: 0x10057186f v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
7: 0x10056fa44 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x10057c2dc v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
9: 0x10057c35f v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
10: 0x10054b6f6 v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::Heap::RootListIndex, int, v8::internal::Object*, v8::internal::PretenureFlag) [/usr/local/bin/node]
11: 0x100690ffc v8::internal::DescriptorArray::Allocate(v8::internal::Isolate*, int, int, v8::internal::PretenureFlag) [/usr/local/bin/node]
12: 0x10068ba3e v8::internal::Map::EnsureDescriptorSlack(v8::internal::Handlev8::internal::Map, int) [/usr/local/bin/node]
13: 0x100697f09 v8::internal::Map::ShareDescriptor(v8::internal::Handlev8::internal::Map, v8::internal::Handlev8::internal::DescriptorArray, v8::internal::Descriptor*) [/usr/local/bin/node]
14: 0x1006838c4 v8::internal::Map::CopyAddDescriptor(v8::internal::Handlev8::internal::Map, v8::internal::Descriptor*, v8::internal::TransitionFlag) [/usr/local/bin/node]
15: 0x1006836e2 v8::internal::Map::CopyWithField(v8::internal::Handlev8::internal::Map, v8::internal::Handlev8::internal::Name, v8::internal::Handlev8::internal::FieldType, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Representation, v8::internal::TransitionFlag) [/usr/local/bin/node]
16: 0x100699f32 v8::internal::Map::TransitionToDataProperty(v8::internal::Handlev8::internal::Map, v8::internal::Handlev8::internal::Name, v8::internal::Handlev8::internal::Object, v8::internal::PropertyAttributes, v8::internal::PropertyConstness, v8::internal::Object::StoreFromKeyed) [/usr/local/bin/node]
17: 0x100664b38 v8::internal::LookupIterator::PrepareTransitionToDataProperty(v8::internal::Handlev8::internal::JSReceiver, v8::internal::Handlev8::internal::Object, v8::internal::PropertyAttributes, v8::internal::Object::StoreFromKeyed) [/usr/local/bin/node]
18: 0x10068a394 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handlev8::internal::Object, v8::internal::PropertyAttributes, v8::internal::ShouldThrow, v8::internal::Object::StoreFromKeyed) [/usr/local/bin/node]
19: 0x1007f1459 v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, v8::internal::LanguageMode) [/usr/local/bin/node]
20: 0x1007f4ca3 v8::internal::Runtime_SetProperty(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/local/bin/node]
21: 0x3f21725be3d
Abort trap: 6
How to resolve this issue?