Flask App on Gunicorn seems to run out of memory
nuevofilipo
HOBBY
a year 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
a year 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.