This is an automated email from the ASF dual-hosted git repository.

spricoder pushed a commit to branch feature/memory_auto
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/feature/memory_auto by this 
push:
     new 79f602a3279 Fix Agent
79f602a3279 is described below

commit 79f602a3279057c913875450e2b476267a423f1a
Author: spricoder <[email protected]>
AuthorDate: Thu Feb 27 13:22:43 2025 +0800

    Fix Agent
---
 .../main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
index 40e5e5aa478..7bd18fe72e1 100644
--- 
a/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
+++ 
b/iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryRuntimeAgent.java
@@ -55,7 +55,7 @@ public class MemoryRuntimeAgent implements IService {
       MemoryRuntimeAgent.getInstance()
           .registerPeriodicalJob(
               "GlobalMemoryManager#updateAllocate()",
-              MemoryManager.global()::updateAllocate,
+              MemoryConfig.global()::updateAllocate,
               MEMORY_CHECK_INTERVAL_IN_S);
     }
 

Reply via email to