lancelly commented on code in PR #8599: URL: https://github.com/apache/iotdb/pull/8599#discussion_r1056362926
########## server/src/main/java/org/apache/iotdb/db/mpp/execution/memory/MemoryPool.java: ########## @@ -154,6 +154,14 @@ public Pair<ListenableFuture<Void>, Boolean> reserve( bytesToReserve > 0L && bytesToReserve <= maxBytesPerFragmentInstance, "bytes should be greater than zero while less than or equal to max bytes per fragment instance: %d", bytesToReserve); + if (bytesToReserve > maxBytesCanReserve) { + LOGGER.error( Review Comment: warn level log -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@iotdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org