I'm hosting a plumber API on my POSIT connect server (4 cores, 32gb RAM). One of my endpoints triggers a loop that exports data from a database via chunks. However, after some time, the process stops with the following error:
When inspecting the Admin dashboard for memory usage, it is actually obvious that there was enough RAM for the process left ( Sorry I can't upload two images here)
I did found another post about the same issue, however, no one responded to it.
Long running python job deployed in RStudio connect (FastAPI) - R Admins / Posit Connect - Posit Community
Does anyone of you have an explanation for that behavior? Is there some sort of timeout value for the connect server after which processes are killed?