Hi
I just updated the moralis sdk version to the newest one.
And now I have this type of error.
<--- Last few GCs --->
[10957:0xddaa40] 58599 ms: Mark-sweep 1334.8 (1404.9) -> 1334.7 (1404.4) MB, 508.0 / 0.0 ms (average mu = 0.219, current mu = 0.000) last resort GC in old space requested
[10957:0xddaa40] 59203 ms: Mark-sweep 1334.7 (1404.4) -> 1334.7 (1404.4) MB, 604.7 / 0.0 ms (average mu = 0.110, current mu = 0.000) last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x272a6745452b]
Security context: 0x01e1c8b2ee11 <JSObject>
1: set [0x1e1c8b44629](this=0x1af6e86a3029 <Map map = 0x306198f92691>,0x1ccc891fcc91 <Uint8Array map = 0x306198fe7e01>,496213)
2: addReferenceable(aka addReferenceable) [0x1af6e86a3049] [/home/nft-enthusiast/projects/frontend/node_modules/webpack/lib/serialization/ObjectMiddleware.js:~259] [pc=0x272a68d7cfd9](this=0x285e056825d9 <undefined>,item=0x1c...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: 0x7f3474c8d46c node::Abort() [/lib/x86_64-linux-gnu/libnode.so.64]
2: 0x7f3474c8d4b5 [/lib/x86_64-linux-gnu/libnode.so.64]
3: 0x7f3474eb9e6a v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/lib/x86_64-linux-gnu/libnode.so.64]
4: 0x7f3474eba0e1 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/lib/x86_64-linux-gnu/libnode.so.64]
5: 0x7f3475254c66 [/lib/x86_64-linux-gnu/libnode.so.64]
6: 0x7f3475268a37 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/lib/x86_64-linux-gnu/libnode.so.64]
7: 0x7f3475234bfb v8::internal::Factory::AllocateRawArray(int, v8::internal::PretenureFlag) [/lib/x86_64-linux-gnu/libnode.so.64]
8: 0x7f3475235098 v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::Heap::RootListIndex, int, v8::internal::Object*, v8::internal::PretenureFlag) [/lib/x86_64-linux-gnu/libnode.so.64]
9: 0x7f3475235144 v8::internal::Handle<v8::internal::FixedArray> v8::internal::Factory::NewFixedArrayWithMap<v8::internal::FixedArray>(v8::internal::Heap::RootListIndex, int, v8::internal::PretenureFlag) [/lib/x86_64-linux-gnu/libnode.so.64]
10: 0x7f34753bddbb v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Allocate(v8::internal::Isolate*, int, v8::internal::PretenureFlag) [/lib/x86_64-linux-gnu/libnode.so.64]
11: 0x7f34753c0e23 v8::internal::OrderedHashTable<v8::internal::OrderedHashMap, 2>::Rehash(v8::internal::Handle<v8::internal::OrderedHashMap>, int) [/lib/x86_64-linux-gnu/libnode.so.64]
12: 0x7f347548e0ae v8::internal::Runtime_MapGrow(int, v8::internal::Object**, v8::internal::Isolate*) [/lib/x86_64-linux-gnu/libnode.so.64]
13: 0x272a6745452b
Aborted (core dumped)
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
I know setting memery limit for node would solve the issue but still couldnât get it working after allocating 8 GB.
I see some people having the same issue coz of some packages compatibility.
Has anyone had similar issue before?
Is there any solution I could fix this issue?