во время работы внутреннего сервера он неожиданно останавливается.
[14991:0x138008000] 349194 мс: очистка (чередующаяся) 4062,0 (4098,2) -> 4059,9 (4107,2) МБ, в пуле: 0 МБ, 15,46/0,00 мс (среднее значение mu = 0,366, текущее значение mu = 0,395) ошибка выделения;
[14991:0x138008000] 350526 мс: Mark-Compact 4067.0 (4107.2) -> 4061.7 (4110,5) МБ, в пуле: 0 МБ, 1323,21/0,00 мс (среднее значение mu = 0,236, текущее значение mu = 0,066) сбой выделения; очистка может завершиться неудачно
ФАТАЛЬНАЯ ОШИБКА: неэффективные метки-сжатия вблизи предела кучи. Не удалось выделить - куча JavaScript вышла из памяти
----- Собственная трассировка стека -----
1: 0x1008282e8 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
2: 0x10095f564 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
3: 0x10095f51c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
4: 0x100b1d368 v8::internal::Heap::ShouldOptimizeForLoadTime() const [/opt/homebrew/Cellar/node/24.10.0/bin/node]
5: 0x100b1fa88 v8::internal::Heap::OldGenerationConsumedBytes() const [/opt/homebrew/Cellar/node/24.10.0/bin/node]
6: 0x100b1f928 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector, v8::base::TimeTicks) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
7: 0x100b2cc20 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1::operator()() const [/opt/homebrew/Cellar/node/24.10.0/bin/node]
8: 0x100b2c8c4 void heap::base::Stack::SetMarkerAndCallbackImpl(heap::base::Stack*, void*, void const*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
9: 0x101182478 PushAllRegistersAndIterateStack [/opt/homebrew/Cellar/node/24.10.0/bin/node]
10: 0x100b1b930 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
11: 0x100b13c9c v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
12: 0x100afbfb4 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
13: 0x100e27434 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
14: 0x101241f74 Встроенный_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/opt/homebrew/Cellar/node/24.10.0/bin/node]
15: 0x1011adc50 Встроенный_KeyedStoreIC_Megamorphic [/opt/homebrew/Cellar/node/24.10.0/bin/node]
16: 0x14045b4c0
17: 0x140487f4c
18: 0x140486dd4
19: 0x14045b4a8
20: 0x140487f4c
21: 0x140486dd4
22: 0x14045b4a8
23: 0x140487f4c
24: 0x140486dd4
25: 0x14045b4a8
26: 0x140487f4c
27: 0x140486dd4
28: 0x14045b4a8
29: 0x140487f4c
30: 0x140006ca8
31: 0x1400b3404
32: 0x1400b36d4
33: 0x140263504
34: 0x1012b6b7c Встроенный_ПромисКонструктор [/opt/homebrew/Cellar/node/24.10.0/bin/node]
35: 0x1011a1b8c Встроенный_JSBuiltinsConstructStub [/opt/homebrew/Cellar/node/24.10.0/bin/node]
36: 0x140263678
37: 0x101271a20 Buildingins_ArrayMap [/opt/homebrew/Cellar/node/24.10.0/bin/node]
38: 0x1011a4bec Buildingins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/24.10.0/bin/node]
39: 0x140442824
40: 0x1011e3648 Встроенный_AsyncFunctionAwaitResolveClosure [/opt/homebrew/Cellar/node/24.10.0/bin/node]
41: 0x1012b85f8 Internals_PromiseFulfillReactionJob [/opt/homebrew/Cellar/node/24.10.0/bin/node]
42: 0x1011d2a50 Встроенный_RunMicrotasks [/opt/homebrew/Cellar/node/24.10.0/bin/node]
43: 0x1011a27b0 Встроенный_JSRunMicrotasksEntry [/opt/homebrew/Cellar/node/24.10.0/bin/node]
44: 0x100a84d8c v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
45: 0x100a85438 v8::internal::(анонимное пространство имен)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
46: 0x100a85528 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
47: 0x100aa6fec v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
48: 0x100aa6e08 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
49: 0x1011a694c Встроенный_CallApiCallbackOptimizedNoProfiling [/opt/homebrew/Cellar/node/24.10.0/bin/node]
50: 0x1404bc324
51: 0x1011a28cc Встроенный_JSEntryTrampoline [/opt/homebrew/Cellar/node/24.10.0/bin/node]
52: 0x1011a2570 Встроенный_JSEntry [/opt/homebrew/Cellar/node/24.10.0/bin/node]
53: 0x100a84dbc v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(анонимное пространство имен)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
54: 0x100a847ac v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::DirectHandle, v8::internal::DirectHandle, v8::base::Vector) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
55: 0x1009708b0 v8::Function::Call(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
56: 0x10077c988 node::InternalCallbackScope::Close() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
57: 0x10077cbc0 node::InternalMakeCallback(node::Environment*, v8::Local, v8::Local, v8::Local, int, v8::Local*, node::async_context, v8::Local) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
58: 0x10078b5f0 node::AsyncWrap::MakeCallback(v8::Local, int, v8::Local*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
59: 0x1008e255c node::StreamBase::CallJSONreadMethod(long, v8::Local, unsigned long, node::StreamBase::StreamBaseJSChecks) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
60: 0x1008e3b0c node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
61: 0x10094317c node::crypto::TLSWrap::ClearOut() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
62: 0x100942614 node::crypto::TLSWrap::Cycle() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
63: 0x100944dcc node::crypto::TLSWrap::OnStreamRead(long, uv_buf_t const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
64: 0x1008e6244 node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
65: 0x1008e6700 node::LibuvStreamWrap::ReadStart()::$_1::__invoke(uv_stream_s*, long, uv_buf_t const*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
66: 0x1045c3668 uv__stream_io [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.0.0.dylib]
67: 0x1045c8e28 uv__io_poll [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.0.0.dylib]
68: 0x1045baa00 uv_run [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.0.0.dylib]
69: 0x10077d40c node::SpinEventLoopInternal(node::Environment*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
70: 0x100854920 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
71: 0x1008546b4 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
72: 0x1007ff57c node::Start(int, char**) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
73: 0x18d5b2b98 start [/usr/lib/dyld]
zsh: abort node --inspect index.js
Подробнее здесь: https://stackoverflow.com/questions/798 ... mory-error
«Внутренний сервер Node.js аварийно завершает работу из-за ошибки нехватки памяти в куче JavaScript» ⇐ Javascript
Форум по Javascript
1763367006
Anonymous
во время работы внутреннего сервера он неожиданно останавливается.
[14991:0x138008000] 349194 мс: очистка (чередующаяся) 4062,0 (4098,2) -> 4059,9 (4107,2) МБ, в пуле: 0 МБ, 15,46/0,00 мс (среднее значение mu = 0,366, текущее значение mu = 0,395) ошибка выделения;
[14991:0x138008000] 350526 мс: Mark-Compact 4067.0 (4107.2) -> 4061.7 (4110,5) МБ, в пуле: 0 МБ, 1323,21/0,00 мс (среднее значение mu = 0,236, текущее значение mu = 0,066) сбой выделения; очистка может завершиться неудачно
ФАТАЛЬНАЯ ОШИБКА: неэффективные метки-сжатия вблизи предела кучи. Не удалось выделить - куча JavaScript вышла из памяти
----- Собственная трассировка стека -----
1: 0x1008282e8 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
2: 0x10095f564 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
3: 0x10095f51c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
4: 0x100b1d368 v8::internal::Heap::ShouldOptimizeForLoadTime() const [/opt/homebrew/Cellar/node/24.10.0/bin/node]
5: 0x100b1fa88 v8::internal::Heap::OldGenerationConsumedBytes() const [/opt/homebrew/Cellar/node/24.10.0/bin/node]
6: 0x100b1f928 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector, v8::base::TimeTicks) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
7: 0x100b2cc20 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags)::$_1::operator()() const [/opt/homebrew/Cellar/node/24.10.0/bin/node]
8: 0x100b2c8c4 void heap::base::Stack::SetMarkerAndCallbackImpl(heap::base::Stack*, void*, void const*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
9: 0x101182478 PushAllRegistersAndIterateStack [/opt/homebrew/Cellar/node/24.10.0/bin/node]
10: 0x100b1b930 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
11: 0x100b13c9c v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
12: 0x100afbfb4 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
13: 0x100e27434 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
14: 0x101241f74 Встроенный_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/opt/homebrew/Cellar/node/24.10.0/bin/node]
15: 0x1011adc50 Встроенный_KeyedStoreIC_Megamorphic [/opt/homebrew/Cellar/node/24.10.0/bin/node]
16: 0x14045b4c0
17: 0x140487f4c
18: 0x140486dd4
19: 0x14045b4a8
20: 0x140487f4c
21: 0x140486dd4
22: 0x14045b4a8
23: 0x140487f4c
24: 0x140486dd4
25: 0x14045b4a8
26: 0x140487f4c
27: 0x140486dd4
28: 0x14045b4a8
29: 0x140487f4c
30: 0x140006ca8
31: 0x1400b3404
32: 0x1400b36d4
33: 0x140263504
34: 0x1012b6b7c Встроенный_ПромисКонструктор [/opt/homebrew/Cellar/node/24.10.0/bin/node]
35: 0x1011a1b8c Встроенный_JSBuiltinsConstructStub [/opt/homebrew/Cellar/node/24.10.0/bin/node]
36: 0x140263678
37: 0x101271a20 Buildingins_ArrayMap [/opt/homebrew/Cellar/node/24.10.0/bin/node]
38: 0x1011a4bec Buildingins_InterpreterEntryTrampoline [/opt/homebrew/Cellar/node/24.10.0/bin/node]
39: 0x140442824
40: 0x1011e3648 Встроенный_AsyncFunctionAwaitResolveClosure [/opt/homebrew/Cellar/node/24.10.0/bin/node]
41: 0x1012b85f8 Internals_PromiseFulfillReactionJob [/opt/homebrew/Cellar/node/24.10.0/bin/node]
42: 0x1011d2a50 Встроенный_RunMicrotasks [/opt/homebrew/Cellar/node/24.10.0/bin/node]
43: 0x1011a27b0 Встроенный_JSRunMicrotasksEntry [/opt/homebrew/Cellar/node/24.10.0/bin/node]
44: 0x100a84d8c v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
45: 0x100a85438 v8::internal::(анонимное пространство имен)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
46: 0x100a85528 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
47: 0x100aa6fec v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
48: 0x100aa6e08 v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
49: 0x1011a694c Встроенный_CallApiCallbackOptimizedNoProfiling [/opt/homebrew/Cellar/node/24.10.0/bin/node]
50: 0x1404bc324
51: 0x1011a28cc Встроенный_JSEntryTrampoline [/opt/homebrew/Cellar/node/24.10.0/bin/node]
52: 0x1011a2570 Встроенный_JSEntry [/opt/homebrew/Cellar/node/24.10.0/bin/node]
53: 0x100a84dbc v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(анонимное пространство имен)::InvokeParams const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
54: 0x100a847ac v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::DirectHandle, v8::internal::DirectHandle, v8::base::Vector) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
55: 0x1009708b0 v8::Function::Call(v8::Isolate*, v8::Local, v8::Local, int, v8::Local*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
56: 0x10077c988 node::InternalCallbackScope::Close() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
57: 0x10077cbc0 node::InternalMakeCallback(node::Environment*, v8::Local, v8::Local, v8::Local, int, v8::Local*, node::async_context, v8::Local) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
58: 0x10078b5f0 node::AsyncWrap::MakeCallback(v8::Local, int, v8::Local*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
59: 0x1008e255c node::StreamBase::CallJSONreadMethod(long, v8::Local, unsigned long, node::StreamBase::StreamBaseJSChecks) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
60: 0x1008e3b0c node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
61: 0x10094317c node::crypto::TLSWrap::ClearOut() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
62: 0x100942614 node::crypto::TLSWrap::Cycle() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
63: 0x100944dcc node::crypto::TLSWrap::OnStreamRead(long, uv_buf_t const&) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
64: 0x1008e6244 node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
65: 0x1008e6700 node::LibuvStreamWrap::ReadStart()::$_1::__invoke(uv_stream_s*, long, uv_buf_t const*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
66: 0x1045c3668 uv__stream_io [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.0.0.dylib]
67: 0x1045c8e28 uv__io_poll [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.0.0.dylib]
68: 0x1045baa00 uv_run [/opt/homebrew/Cellar/libuv/1.51.0/lib/libuv.1.0.0.dylib]
69: 0x10077d40c node::SpinEventLoopInternal(node::Environment*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
70: 0x100854920 node::NodeMainInstance::Run(node::ExitCode*, node::Environment*) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
71: 0x1008546b4 node::NodeMainInstance::Run() [/opt/homebrew/Cellar/node/24.10.0/bin/node]
72: 0x1007ff57c node::Start(int, char**) [/opt/homebrew/Cellar/node/24.10.0/bin/node]
73: 0x18d5b2b98 start [/usr/lib/dyld]
zsh: abort node --inspect index.js
Подробнее здесь: [url]https://stackoverflow.com/questions/79822018/node-js-backend-server-crashes-with-javascript-heap-out-of-memory-error[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия