ClickHouse runs out of memory
3 posts from 3 people3d activeFading, +0 this week
Posts per day
The posts behind it
Keeper / NuRaft: ASIO transport bugs in `asio_service.cxx` — leaked incoming sessions on shutdown, negative/underflowed `carried_data_size` OOM `abort`, throwing `set_option` hanging RPC callbacks, and pre-CRC 2 GiB allocation
### Summary Code audit of `contrib/NuRaft/src/asio_service.cxx` found four distinct transport-layer bugs in NuRaft's ASIO RPC listener and client: 1. **`asio_rpc_listener::active_sessions_` is never populated (`asio_service.cxx:1319-1420`)**: - `asio_rpc_listener` maintains...
Part check should read data with O_DIRECT, bypassing the OS page cache
...Keeper. The check should read the data from the device itself, using `O_DIRECT`. A query failing on bad cached data is recoverable. Throwing away a good 100+ GiB part because of it is not, especially when no other replica still has that exact part. ## Evidence from a production...
Concurrency-aware max_threads when it is auto: narrow the query plan when many queries compete for CPU
...at plan time, but only on memory pressure. Under the workload above, memory is not the bottleneck. - `merge_tree_min_bytes_per_read_stream` (26.8) caps `MergeTree` read streams by data volume, but never below `max(16, requested / 4)` streams, and does not consider load. ###...
Companies and products named
About this problem
Evidence
3 posts from 3 people in 1 place, about 1 a week over 44 days. Mostly on ClickHouse/ClickHouse. Tools named alongside: GitHub, AWS.
Frustration Frustration 0 of 3· Seen on GitHub issues
How it was grouped
Posts that state a pain and match the "oom" rule about ClickHouse. First post Oct 12, 2026, latest Nov 24, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method
The same problem elsewhere
Jobs and services run out of memory
20 posts from 20 people on GitHub issues, Stack Overflow, Reddit.
Gemini runs out of memory
14 posts from 13 people on GitHub issues.
DuckDB runs out of memory
8 posts from 8 people on GitHub issues.
GitHub runs out of memory
7 posts from 7 people on GitHub issues.
NVIDIA runs out of memory
6 posts from 6 people on GitHub issues.
Apache Iceberg runs out of memory
4 posts from 3 people on GitHub issues.
llama.cpp runs out of memory
4 posts from 4 people on GitHub issues.
Claude Code runs out of memory
4 posts from 4 people on GitHub issues.
Apache Airflow runs out of memory
3 posts from 3 people on GitHub issues.
BigQuery runs out of memory
3 posts from 3 people on GitHub issues.
Polars runs out of memory
3 posts from 3 people on GitHub issues.
npm runs out of memory
3 posts from 3 people on GitHub issues.
Other ClickHouse problems
ClickHouse upgrades break working setups
39 posts from 23 people on GitHub issues.
Trouble with ClickHouse column
Top post: "Top-K reads with a `minmax` index on the sort column: read the granules with the best bounds first", one of 18 posts from 10 people on GitHub issues.
ClickHouse users keep filing bugs
Top post: "Tighten seccomp policy for optional kernel interfaces", one of 16 posts from 10 people on GitHub issues.
Experiments on ClickHouse are hard to reproduce and track
13 posts from 3 people on GitHub issues.
ClickHouse costs outgrow the value it gives
11 posts from 3 people on GitHub issues.
Trouble with ClickHouse columns
Top post: "INSERT SELECT from fileCluster/urlCluster fails to fill DEFAULT columns", one of 10 posts from 8 people on GitHub issues.
Trouble with ClickHouse table
Top post: "`SYSTEM RESTORE REPLICA` on a second replica over-bumps the table `metadata` znode version; every later", one of 9 posts from 5 people on GitHub issues.
Trouble with ClickHouse group
Top post: "Planning a MergeTree query does work whose result is never used; skipping it saves 0.6-0.75 ms on a filtered", one of 6 posts from 3 people on GitHub issues.
Trouble with ClickHouse join
Top post: "JOIN runtime filter pruning drops rows for CAST(UInt8 AS Bool) probe key", one of 6 posts from 5 people on GitHub issues.
ClickHouse error messages are cryptic
6 posts from 3 people on GitHub issues.
Trouble with ClickHouse logical
Top post: "Keeper: dynamically adding a server via `sync_log_request` (`apply_pack`) skips `pre_commit`, causing", one of 6 posts from 3 people on GitHub issues.
Trouble with ClickHouse query
Top post: "Support the `JSON` data type in SQL/JSON functions `JSON_EXISTS`, `JSON_QUERY`, `JSON_VALUE`", one of 6 posts from 4 people on GitHub issues.
History