v.21.9Improvement

Memory Limits Now Account for Bitmap Aggregate Function Memory Consumption

Memory consumed by bitmap aggregate functions now is taken into account for memory limits. This closes #26555. #27252 (alexey-milovidov).
Memory consumption by bitmap aggregate functions is now accounted for within ClickHouse's memory limits.

Why it matters

This feature ensures that the memory used by bitmap aggregate functions is tracked and considered against the configured memory limits, preventing out-of-memory issues and improving resource management and stability during query execution.

How to use it

No explicit action is required to enable this feature; it is automatically applied as part of the memory management system. Users can control memory limits via existing settings such as max_memory_usage.