JavaScript heap out of memory

our backend in Pro Plan keeps on crashing due to a heap out of memory fatal error. the memory graph shows it stalls at 8GB and goes back to 4GB once I restart. I tried adding this to my launch script: "start:prod": "node --max-old-space-size=16384 dist/apps/gateway/main" but that seems to have no effect. We should have 32GB available, no? Any idea how we can fix this?
No description
4 Replies
Percy
Percy2mo ago
Project ID: 272cc306-832f-42e6-a34c-9e564719a95d
echoSplice
echoSplice2mo ago
project id: 272cc306-832f-42e6-a34c-9e564719a95d Any help with this? This is quite urgent as its our production server
Adam
Adam2mo ago
is the project in your pro workspace? please send logs using the bookmarklet https://discord.com/channels/713503345364697088/1255755032511516792/1255760834831847425
Brody
Brody2mo ago
going to close this out as this is a duplicate thread, please don't cross post!
Want results from more Discord servers?
Add your server