We've been running TiTiler for a while now and we've seen this behavior both using the uvicorn and gunicorn approaches.
It seems as if the multiple workers are not properly liberating RAM, not sure if this is related to the way GDAL, rasterio or FastAPI handles the reading and closing of rasters, so I'm not sure if there are any environment variables that directly affect this. Has anyone experienced this as well?
This might be interesting as well, since the base image is already running Python 3.14 🤔 https://github.com/fastapi/fastapi/releases/tag/0.136.0
We've been running TiTiler for a while now and we've seen this behavior both using the uvicorn and gunicorn approaches.
It seems as if the multiple workers are not properly liberating RAM, not sure if this is related to the way GDAL, rasterio or FastAPI handles the reading and closing of rasters, so I'm not sure if there are any environment variables that directly affect this. Has anyone experienced this as well?
This might be interesting as well, since the base image is already running Python 3.14 🤔 https://github.com/fastapi/fastapi/releases/tag/0.136.0