mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
correct reference
This commit is contained in:
parent
7a36b7a212
commit
904f53ba8b
@ -1,2 +0,0 @@
|
|||||||
Code: 241. DB::Exception: Memory limit (total) exceeded: would use 11.19 MiB (attempt to allocate chunk of 6462982 bytes), maximum: 1.00 B: while receiving packet from localhost:9000. (MEMORY_LIMIT_EXCEEDED)
|
|
||||||
60000
|
|
@ -1,11 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
||||||
# shellcheck source=../shell_config.sh
|
|
||||||
. "$CURDIR"/../shell_config.sh
|
|
||||||
|
|
||||||
# Big quiery. Memory limit
|
|
||||||
${CLICKHOUSE_CLIENT} --max_memory_usage_in_client=1 --testmode --query "SELECT arrayMap(x -> range(x), range(number)) FROM numbers(1000) -- { serverError 241; }" 2>&1 | grep "Memory limit"
|
|
||||||
|
|
||||||
# small quiery. In max untracked memory range
|
|
||||||
${CLICKHOUSE_CLIENT} --max_memory_usage_in_client=1 --testmode --query "SELECT * FROM (SELECT * FROM system.numbers LIMIT 600000) as num WHERE num.number=60000"
|
|
Loading…
Reference in New Issue
Block a user