public void releaseChildMemoryManager(String memoryManagerName) {
    MemoryManager memoryManager = children.remove(memoryManagerName);
    if (memoryManager != null) {
      memoryManager.clearAll();
      allocatedMemorySizeInBytes -= memoryManager.getTotalMemorySizeInBytes();
    }
  }
Release the child memory manager with specified name

@param memoryManagerName the name of memory manager
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryManager.java