From 5f508f3d1a07ae762ee39088b53019cfc09a3d89 Mon Sep 17 00:00:00 2001 From: Xinyi Zou Date: Tue, 27 Aug 2024 12:30:11 +0800 Subject: [PATCH] 4 --- be/src/common/config.cpp | 1 + be/src/common/config.h | 1 + 2 files changed, 2 insertions(+) diff --git a/be/src/common/config.cpp b/be/src/common/config.cpp index 07e5a859e1c816..2945e264e087ee 100644 --- a/be/src/common/config.cpp +++ b/be/src/common/config.cpp @@ -124,6 +124,7 @@ DEFINE_mInt32(double_resize_threshold, "23"); // if it is -1, then low water mark = min(MemTotal - MemLimit, MemTotal * 5%), which is 3.2G on a 64G machine. // Turn up max. more memory buffers will be reserved for Memory GC. // Turn down max. will use as much memory as possible. +// note that: `max_` prefix should be removed, but keep it for compatibility. DEFINE_Int64(max_sys_mem_available_low_water_mark_bytes, "-1"); DEFINE_Int64(memtable_limiter_reserved_memory_bytes, "838860800"); diff --git a/be/src/common/config.h b/be/src/common/config.h index 0a322c716290f4..d03d96d00c3ec5 100644 --- a/be/src/common/config.h +++ b/be/src/common/config.h @@ -163,6 +163,7 @@ DECLARE_mInt32(double_resize_threshold); // if it is -1, then low water mark = min(MemTotal - MemLimit, MemTotal * 5%), which is 3.2G on a 64G machine. // Turn up max. more memory buffers will be reserved for Memory GC. // Turn down max. will use as much memory as possible. +// note that: `max_` prefix should be removed, but keep it for compatibility. DECLARE_Int64(max_sys_mem_available_low_water_mark_bytes); // reserve a small amount of memory so we do not trigger MinorGC