diff --git a/src/common/memory/MemoryUtils.cpp b/src/common/memory/MemoryUtils.cpp index 52d832af937..b8fbcea5dee 100644 --- a/src/common/memory/MemoryUtils.cpp +++ b/src/common/memory/MemoryUtils.cpp @@ -192,9 +192,7 @@ void MemoryUtils::handleMemoryTracker(int64_t total, int64_t available) { LOG(INFO) << "MemoryTracker disabled"; } } else { - if (kCurrentTotal_ != limitRatio) { - LOG(ERROR) << "Invalid memory_tracker_limit_ratio: " << limitRatio; - } + LOG(ERROR) << "Invalid memory_tracker_limit_ratio: " << limitRatio; } kCurrentTotal_ = total; kCurrentLimitRatio_ = limitRatio;