public synchronized void release(IMemoryBlock block) {
    if (block == null || block.isReleased()) {
      return;
    }
    releaseWithOutNotify(block);
    this.notifyAll();
  }
Release memory block and notify all waiting threads

@param block the memory block to release
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/memory/MemoryManager.java