Skip to content

Instantly share code, notes, and snippets.

@Flaque
Created December 2, 2022 23:04
Show Gist options
  • Save Flaque/a7084074e12721cde79f6b61c9016b06 to your computer and use it in GitHub Desktop.
Save Flaque/a7084074e12721cde79f6b61c9016b06 to your computer and use it in GitHub Desktop.
<--- Last few GCs --->
[69783:0x130040000] 12377858 ms: Scavenge (reduce) 4077.1 (4108.5) -> 4076.3 (4108.5) MB, 0.5 / 0.0 ms (average mu = 0.999, current mu = 0.922) allocation failure;
[69783:0x130040000] 12378320 ms: Mark-sweep (reduce) 4220.0 (4251.6) -> 4216.2 (4248.6) MB, 130.4 / 0.0 ms (+ 0.1 ms in 1 steps since start of marking, biggest step 0.1 ms, walltime since start of marking 461 ms) (average mu = 0.998, current mu = 0.875)
<--- JS stacktrace --->
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 0x102993e9c node::Abort() [/opt/homebrew/Cellar/node/18.9.1/bin/node]
2: 0x10299514c node::ModifyCodeGenerationFromStrings(v8::Local<v8::Context>, v8::Local<v8::Value>, bool) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
3: 0x102ae5978 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
4: 0x102ae5924 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
5: 0x102c55114 v8::internal::TimedHistogramScope& v8::base::Optional<v8::internal::TimedHistogramScope>::emplace<v8::internal::TimedHistogram*&, v8::internal::Isolate*&>(v8::internal::TimedHistogram*&, v8::internal::Isolate*&) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
6: 0x102c53cd8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
7: 0x102c497bc v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
8: 0x102c49f98 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
9: 0x102c33930 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
10: 0x102c2e280 v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawOneByteInternalizedString(int, unsigned int) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
11: 0x102c2e0d4 v8::internal::FactoryBase<v8::internal::Factory>::NewOneByteInternalizedString(v8::base::Vector<unsigned char const> const&, unsigned int) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
12: 0x102e7b56c v8::internal::Handle<v8::internal::String> v8::internal::StringTable::LookupKey<v8::internal::SequentialStringKey<unsigned char>, v8::internal::Isolate>(v8::internal::Isolate*, v8::internal::SequentialStringKey<unsigned char>*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
13: 0x102b0e2b4 void v8::internal::AstRawString::Internalize<v8::internal::Isolate>(v8::internal::Isolate*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
14: 0x102e9a900 v8::internal::Parser::DoParseProgram(v8::internal::Isolate*, v8::internal::ParseInfo*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
15: 0x102e9a2b8 v8::internal::Parser::ParseProgram(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Script>, v8::internal::ParseInfo*, v8::internal::MaybeHandle<v8::internal::ScopeInfo>) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
16: 0x102eb32b8 v8::internal::parsing::ParseProgram(v8::internal::ParseInfo*, v8::internal::Handle<v8::internal::Script>, v8::internal::MaybeHandle<v8::internal::ScopeInfo>, v8::internal::Isolate*, v8::internal::parsing::ReportStatisticsMode) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
17: 0x102b83a40 v8::internal::(anonymous namespace)::CompileToplevel(v8::internal::ParseInfo*, v8::internal::Handle<v8::internal::Script>, v8::internal::MaybeHandle<v8::internal::ScopeInfo>, v8::internal::Isolate*, v8::internal::IsCompiledScope*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
18: 0x102b86bac v8::internal::Compiler::GetWrappedFunction(v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::FixedArray>, v8::internal::Handle<v8::internal::Context>, v8::internal::ScriptDetails const&, v8::internal::AlignedCachedData*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
19: 0x102aefc04 v8::ScriptCompiler::CompileFunctionInternal(v8::Local<v8::Context>, v8::ScriptCompiler::Source*, unsigned long, v8::Local<v8::String>*, unsigned long, v8::Local<v8::Object>*, v8::ScriptCompiler::CompileOptions, v8::ScriptCompiler::NoCacheReason, v8::Local<v8::ScriptOrModule>*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
20: 0x1029875ac node::contextify::ContextifyContext::CompileFunction(v8::FunctionCallbackInfo<v8::Value> const&) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
21: 0x102b43664 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
22: 0x102b43454 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
23: 0x102b42f34 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
24: 0x1027fd18c Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/opt/homebrew/Cellar/node/18.9.1/bin/node]
25: 0x1097b0340
26: 0x10a01c240
27: 0x1097d2700
28: 0x1097b7b48
29: 0x10a0d0798
30: 0x10a01bd34
31: 0x1097adbdc
32: 0x10a7e023c
33: 0x10a8d8db0
34: 0x1028486f8 Builtins_PromiseFulfillReactionJob [/opt/homebrew/Cellar/node/18.9.1/bin/node]
35: 0x1027abc4c Builtins_RunMicrotasks [/opt/homebrew/Cellar/node/18.9.1/bin/node]
36: 0x1027863a4 Builtins_JSRunMicrotasksEntry [/opt/homebrew/Cellar/node/18.9.1/bin/node]
37: 0x102bebe10 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
38: 0x102bec3cc v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
39: 0x102c0d8a8 v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
40: 0x102c0d6d4 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
41: 0x1028c8ae0 node::InternalCallbackScope::Close() [/opt/homebrew/Cellar/node/18.9.1/bin/node]
42: 0x10299a058 node::fs::FileHandle::CloseReq::Resolve() [/opt/homebrew/Cellar/node/18.9.1/bin/node]
43: 0x10299a840 node::fs::FileHandle::ClosePromise()::$_0::__invoke(uv_fs_s*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
44: 0x104fc6ff8 uv__work_done [/opt/homebrew/Cellar/libuv/1.44.2/lib/libuv.1.dylib]
45: 0x104fca3d0 uv__async_io [/opt/homebrew/Cellar/libuv/1.44.2/lib/libuv.1.dylib]
46: 0x104fda1e0 uv__io_poll [/opt/homebrew/Cellar/libuv/1.44.2/lib/libuv.1.dylib]
47: 0x104fca7d0 uv_run [/opt/homebrew/Cellar/libuv/1.44.2/lib/libuv.1.dylib]
48: 0x1028c9878 node::SpinEventLoop(node::Environment*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
49: 0x1029d356c node::NodeMainInstance::Run(int*, node::Environment*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
50: 0x1029d31c0 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/18.9.1/bin/node]
51: 0x10295da9c node::LoadSnapshotDataAndRun(node::SnapshotData const**, node::InitializationResult*) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
52: 0x10295db8c node::Start(int, char**) [/opt/homebrew/Cellar/node/18.9.1/bin/node]
53: 0x104f15088
Error: Failed to complete request to /inbox/184d50f8de5020d4: Error: socket hang up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment