JavaScript heap out of memory
story-boards-ai
PROOP

2 years ago

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?

6 Replies

story-boards-ai
PROOP

2 years ago

project id: 272cc306-832f-42e6-a34c-9e564719a95d


story-boards-ai
PROOP

2 years ago

Any help with this? This is quite urgent as its our production server


2 years ago

is the project in your pro workspace?


2 years ago

please send logs using the bookmarklet



2 years ago

going to close this out as this is a duplicate thread, please don't cross post!


Loading...