Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Container exited with code 247 when getting data from GCP

I'm running a Flask API inside a Docker Container.

My application has to download files from Google Cloud, and sometimes, after some minutes of execution, my container exits with the following message: pm-api exited with code 247

I am not sure, but I think it might be related to the size of the data I'm trying to download from GCP, becuse I'm using a query and I don't seem to have any problem whem limiting the number of rows I get from it.

Could be data-size related? And if so, how can I configure my docker container to not break when downloading/saving large files?

like image 310
GennSev Avatar asked Oct 12 '25 15:10

GennSev


1 Answers

In order to solve this problem I had to increase the size of my docker container. This is found in settings resources. Increasing the memory removed this issue.

like image 101
hambo Avatar answered Oct 15 '25 05:10

hambo