You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe what's wrong
Using sparkbar aggregate function on tables that contain large UInt64 values causes OOM (Out of Memory) Killer process to kill ClickHouse server irrespective of any memory usage restrictions set.
Does it reproduce on recent release?
Yes. Any version >=21.11 including the latest 22.12. Also reproducible on ClickHouse.Cloud.
How to reproduce
DROPTABLE IF EXISTS test;
CREATETABLEtest (x UInt64, y UInt8) Engine=MergeTree ORDER BY tuple();
INSERT INTO test VALUES (18446744073709551615,255),(0,0),(0,0),(4036797895307271799,163)
SELECT sparkbar(9)(x,y) FROM test;
Expected behavior
Memory restrictions should be enforced and server should not be killed with OOM.
Error message and/or stacktrace
2022.12.20 01:48:30.983421 [ 1 ] {} <Fatal> Application: Child process was terminated by signal 9 (KILL). If it is not done by 'forcestop' command or manually, the possible cause is OOM Killer (see 'dmesg' and look at the '/var/log/kern.log' for the details).
The text was updated successfully, but these errors were encountered:
kitaisreal
added
bug
Confirmed user-visible misbehaviour in official release
and removed
potential bug
To be reviewed by developers and confirmed/rejected.
labels
Dec 21, 2022
Describe what's wrong
Using
sparkbar
aggregate function on tables that contain large UInt64 values causes OOM (Out of Memory) Killer process to kill ClickHouse server irrespective of any memory usage restrictions set.Does it reproduce on recent release?
Yes. Any version
>=21.11
including the latest22.12
. Also reproducible on ClickHouse.Cloud.How to reproduce
Expected behavior
Memory restrictions should be enforced and server should not be killed with OOM.
Error message and/or stacktrace
The text was updated successfully, but these errors were encountered: