Hau
08/15/2025, 1:16 AMWarning from destination: Code: 241. DB::Exception: (total) memory limit exceeded: would use 21.32 GiB (attempt to allocate chunk of 5.68 MiB bytes), current RSS: 1.71 GiB, maximum: 21.32 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 25.6.3.116 (official build))kapa.ai
08/15/2025, 1:16 AMWarning from destination: Code: 241. DB::Exception: (total) memory limit exceeded: would use 21.32 GiB (attempt to allocate chunk of 5.68 MiB bytes), current RSS: 1.71 GiB, maximum: 21.32 GiB. OvercommitTracker decision: Query was selected to stop by OvercommitTracker. (MEMORY_LIMIT_EXCEEDED) (version 25.6.3.116 (official build)) means that the ClickHouse destination database ran out of memory while processing the sync. Specifically, the query being executed by Airbyte tried to use more memory (21.32 GiB) than the maximum allowed for the ClickHouse server, so ClickHouse's OvercommitTracker forcibly stopped the query to prevent the server from running out of resources. This is a common issue when syncing large tables or when performing normalization steps that require significant memory, such as merge sorting or deduplication. The error is not directly caused by Airbyte, but by the ClickHouse server's memory limits being exceeded during the sync process. This has been reported by other users syncing from MySQL to ClickHouse, especially when using the Incremental - Deduped History sync mode or when handling large datasets. The normalization step in particular can be memory-intensive and may require more resources than are available on your ClickHouse instance. Reducing batch sizes or increasing available memory on the ClickHouse server may help, but there is no direct configuration in Airbyte to control the batch size for normalization in ClickHouse at this time. For more details, see similar issues and discussions: [Mysql to clickhouse fails with Memory exception for incremental dedup data for 1GB table](https://discuss.airbyte.io/t/3401) and [Destination ClickHouse: out of memory with Incremental - Deduped History model](https://github.com/airbytehq/airbyte/issues/15352). In summary: The error means ClickHouse ran out of memory during the sync, and the query was killed to protect the server. You may need to increase the memory available to ClickHouse or adjust your data/model to reduce memory usage during syncs.