You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Airflow scheduler memory spikes when a dag is run with large run config #71267
When a dag with dynamic task is triggered with large run config, the scheduler memory increases by 5-6 times the regular usage when scheduling the dynamic tasks. Once the dagrun completes, the memory usage is back to normal.
The run config is a json of size 512KB to 2MB
To reproduce, create a dag with dynamic task that create 500+ tasks. Trigger the dag with a json of size 512KB to 1MB as run config
What you think should happen instead?
The scheduler memory should not spike when running dynamic task with large run config.
Activity
Stop fetching the run conf once per task instance in the scheduler