correct reference

This commit is contained in:
Artur 2021-08-09 08:58:49 +00:00
parent 7a36b7a212
commit 904f53ba8b
2 changed files with 0 additions and 13 deletions

View File

@ -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

View File

@ -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"