The GitHub Actions job "Tests" on airflow.git/bugfix/api-memory-leak has failed.
Run started by GitHub user dheerajturaga (triggered by dheerajturaga).

Head commit for run:
352c207d76af490b2ca7c761f433979505a11650 / Dheeraj Turaga 
<[email protected]>
Fix API server memory leak: bound DBDagBag version cache with LRU eviction

  Replace the plain dict in DBDagBag._dags with a bounded OrderedDict-based
  LRU cache. In long-running API server processes, every unique dag_version_id
  accessed is inserted and never evicted, causing unbounded RSS growth 
(observed:
  9.4 GiB after 7 days with ~70k DAG versions in DB).

  The cache is now capped at 512 entries by default (configurable via
  core.max_dag_version_cache_size). Cache hits promote the entry to MRU so
  frequently-accessed versions are retained over stale historical ones.

Report URL: https://github.com/apache/airflow/actions/runs/23661647003

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to