v.25.11Improvement

Improved memory tracking in hash joins result

Improved memory tracking in hash joins result generation. Previously, temporary allocations during generating join result were not properly tracked, which could lead to memory limit overruns. #89560 (Azat Khuzhin).
Improved memory tracking for hash joins during result generation to prevent untracked temporary allocations.

Why it matters

Previously, temporary memory allocations made while generating hash join results were not properly tracked, leading to potential memory limit overruns. This improvement ensures accurate memory usage accounting, helping to maintain memory limits and avoid unexpected resource exhaustion.

How to use it

This improvement is applied internally within ClickHouse and requires no user intervention. Memory tracking for hash joins now accurately includes temporary allocations automatically after the update.