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](https://cdn.answeroverflow.com/1265240367671017585/scrnli_23_07_2024_11-31-50.png)
4 Replies
Project ID:
272cc306-832f-42e6-a34c-9e564719a95d
project id: 272cc306-832f-42e6-a34c-9e564719a95d
Any help with this? This is quite urgent as its our production server
is the project in your pro workspace?
please send logs using the bookmarklet
https://discord.com/channels/713503345364697088/1255755032511516792/1255760834831847425
going to close this out as this is a duplicate thread, please don't cross post!