ESM Worker is exploding memory
TobiTenno opened this issue ยท comments
Matt commented
Summary:
Moving from 1.0.6 -> 2.0.0, memory is being consumed rapidly.
Worker has been locked on 1.0.6 for the time being to avoid updates to this non-viable worker version.
If issue, Reproduction:
Mockups, screenshots, evidence:
stacktrace
0|worker | 09.05 04:55: <--- JS stacktrace ---> 0|worker | 09.05 04:55: 0|worker | 09.05 04:55: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory 0|worker | 09.05 04:55: 1: 0xb02eb0 node::Abort() [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 2: 0xa181fb node::FatalError(char const*, char const*) [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 3: 0xced75e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 4: 0xcedad7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 5: 0xea5d75 [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 6: 0xeb544d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 7: 0xeb814e v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 8: 0xe7957a v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 9: 0x11f2d56 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node genesis/src/notifications/Worker.js] 0|worker | 09.05 04:55: 10: 0x15e7759 [node genesis/src/notifications/Worker.js]
Jimmy Bot commented
๐ This issue has been resolved in version 2.2.2 ๐
The release is available on:
- GitHub release
v2.2.2
Your semantic-release bot ๐ฆ๐