developmentseed / developmentseed/titiler

Issue with RAM usage

Open
#1,379 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
254
Avg merge
1d 16h
Merged PRs (30d)
9

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.