afilipovich commented on issue #50708: URL: https://github.com/apache/airflow/issues/50708#issuecomment-3755240532
Thanks @zachliu, using your memray chart I was able to find this inconsistency: Classic `create_session()` function makes sure to close ORM session: https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/utils/session.py#L48 but async `create_session_async()` does not: https://github.com/apache/airflow/blob/main/airflow-core/src/airflow/utils/session.py#L67 Figuring out how to confirm if this is the root cause. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
