Flask App on Gunicorn seems to run out of memory
nuevofilipo
HOBBYOP

2 years ago

I have deployed a flask app that is computation heavy, but it seems to run out of memory always at the same point of a called function. But what confuses me that the metrics, only show that 1.6 gb of memory are being used, then why is the app out of memory when I have 8 gb available??

1 Replies

brody
EMPLOYEE

2 years ago

It's quite possible your app tried to use more than 8GB of RAM and crashed all in the time span between Railway doing a metrics collection on your deployment, thus you wouldn't see the spike.


Loading...