spknetwork / video-encoder

5 stars 3 forks source link

memory leak errors #6

Closed sag333ar closed 2 years ago

sag333ar commented 2 years ago
5|video  | <--- Last few GCs --->
5|video  | [58839:0x138008000] 33619172 ms: Scavenge 3716.8 (4128.0) -> 3701.7 (4128.3) MB, 5.0 / 0.0 ms  (average mu = 0.199, current mu = 0.006) allocation failure 
5|video  | [58839:0x138008000] 33619182 ms: Scavenge 3717.0 (4128.3) -> 3701.8 (4128.5) MB, 4.0 / 0.0 ms  (average mu = 0.199, current mu = 0.006) allocation failure 
5|video  | [58839:0x138008000] 33621648 ms: Mark-sweep 3717.1 (4128.5) -> 3700.0 (4128.8) MB, 2463.4 / 0.1 ms  (average mu = 0.141, current mu = 0.080) allocation failure scavenge might not succeed
5|video  | <--- JS stacktrace --->
5|video  | FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
5|video  |  1: 0x102a3f858 node::Abort() [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  2: 0x102a3f9d8 node::OnFatalError(char const*, char const*) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  3: 0x102b72d6c v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  4: 0x102b72d00 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  5: 0x102ca95a4 v8::internal::Heap::GarbageCollectionReasonToString(v8::internal::GarbageCollectionReason) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  6: 0x102cabe68 v8::internal::Heap::MarkCompactPrologue() [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  7: 0x102ca9b68 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  8: 0x102ca8040 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  |  9: 0x102cb087c v8::internal::Heap::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 10: 0x102cb08fc v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 11: 0x102c8e868 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 12: 0x102f19238 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 13: 0x10319316c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 14: 0x103129d8c Builtins_GrowFastSmiOrObjectElements [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 15: 0x109d27574 
5|video  | 16: 0x109adcd8c 
5|video  | 17: 0x109add818 
5|video  | 18: 0x109ad0808 
5|video  | 19: 0x10316f104 Builtins_MapPrototypeForEach [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 20: 0x109ad0e14 
5|video  | 21: 0x109ad4ae4 
5|video  | 22: 0x109acfe3c 
5|video  | 23: 0x109adac6c 
5|video  | 24: 0x109adde38 
5|video  | 25: 0x109f145bc 
5|video  | 26: 0x103124bec Builtins_JSEntryTrampoline [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 27: 0x103124884 Builtins_JSEntry [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 28: 0x102c50a50 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 29: 0x102c50118 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 30: 0x102b86eec v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 31: 0x102a07f20 napi_call_function [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 32: 0x10559e324 GetWorker::HandleOKCallback() [/Users/sagar/Projects/3speak/video-encoder/node_modules/leveldown/build/Release/leveldown.node]
5|video  | 33: 0x10559dbcc BaseWorker::Complete(napi_env__*, napi_status, void*) [/Users/sagar/Projects/3speak/video-encoder/node_modules/leveldown/build/Release/leveldown.node]
5|video  | 34: 0x102a19dd0 (anonymous namespace)::uvimpl::Work::AfterThreadPoolWork(int) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 35: 0x104d93134 uv__work_done [/Users/sagar/homebrew/Cellar/libuv/1.44.1_1/lib/libuv.1.dylib]
5|video  | 36: 0x104d96484 uv__async_io [/Users/sagar/homebrew/Cellar/libuv/1.44.1_1/lib/libuv.1.dylib]
5|video  | 37: 0x104da61dc uv__io_poll [/Users/sagar/homebrew/Cellar/libuv/1.44.1_1/lib/libuv.1.dylib]
5|video  | 38: 0x104d968d8 uv_run [/Users/sagar/homebrew/Cellar/libuv/1.44.1_1/lib/libuv.1.dylib]
5|video  | 39: 0x102994a24 node::SpinEventLoop(node::Environment*) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 40: 0x102a74a90 node::NodeMainInstance::Run(int*, node::Environment*) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 41: 0x102a74760 node::NodeMainInstance::Run(node::EnvSerializeInfo const*) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 42: 0x102a16514 node::Start(int, char**) [/Users/sagar/homebrew/Cellar/node@16/16.15.0/bin/node]
5|video  | 43: 0x104e0d08c 
vaultec81 commented 2 years ago

@sag333ar Is there any more information that you can provide about the machine/environment you are operating in?