K 10 svn:author V 2 rm K 8 svn:date V 27 2020-09-10T15:21:26.957402Z K 7 svn:log V 713 databases/clickhouse: apply patch from #13859: MemoryTracking support Clickhouse for FreeBSD updating no memory usage stats. In the case build without NDEBUG, allocator use 4KB chunk, those dont account when freeing and MemoryTracking metric grow up to ~6TB, after this clickhouse stop query processing with error "Memory limit (total) exceeded: would use 6.24 TiB" due skipping calc allocation < 4MB Patch still not upstreamed, obtained from: https://github.com/ClickHouse/ClickHouse/issues/13859 + https://github.com/ClickHouse/ClickHouse/pull/13869 reported and tested by: Vyacheslav (via Clickhouse telegram) PR: 249205 Submitted by: olevole@olevole.ru (maintainer) Obtained from: clickhouse repository END