Hi ,
I was using service about 2 month and it work normal , but now i have some error related to heap memory . Was check the log in my local and it just about
Total App Memory (RSS): 57.81 MB
Heap Used: 37.09 MB
Heap Total: 39.58 MB
External: 3.19 MB
what happen in deployment does it is the error from deployment pls help me with this
Thanks in advance
Aborted
error Command failed with exit code 134.
yarn run v1.22.22
$ nest start
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
<--- Last few GCs --->
[31:0x6cea2d0] 16907 ms: Mark-Compact 251.7 (258.2) -> 250.4 (258.2) MB, 339.90 / 0.00 ms (average mu = 0.395, current mu = 0.406) allocation failure; scavenge might not succeed
[31:0x6cea2d0] 17275 ms: Mark-Compact 251.4 (258.2) -> 250.3 (258.2) MB, 317.18 / 0.00 ms (average mu = 0.292, current mu = 0.138) allocation failure; scavenge might not succeed
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0xb8ced1 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/layers/heroku_nodejs-engine/dist/bin/node]
2: 0xf06460 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/layers/heroku_nodejs-engine/dist/bin/node]
3: 0xf06747 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/layers/heroku_nodejs-engine/dist/bin/node]
4: 0x11182e5 [/layers/heroku_nodejs-engine/dist/bin/node]
5: 0x1118874 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/layers/heroku_nodejs-engine/dist/bin/node]
6: 0x112f764 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [/layers/heroku_nodejs-engine/dist/bin/node]
7: 0x112ff7c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/layers/heroku_nodejs-engine/dist/bin/node]
8: 0x1106281 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/layers/heroku_nodejs-engine/dist/bin/node]
9: 0x1107415 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/layers/heroku_nodejs-engine/dist/bin/node]
10: 0x10e4a66 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/layers/heroku_nodejs-engine/dist/bin/node]
11: 0x1540896 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/layers/heroku_nodejs-engine/dist/bin/node]
12: 0x1979ef6 [/layers/heroku_nodejs-engine/dist/bin/node]
Aborted