xianjingfeng commented on issue #1628:
URL: 
https://github.com/apache/incubator-uniffle/issues/1628#issuecomment-2274895290

   Could we temporarily handle it in the following way?
   
   ```java
   public static void releaseByteBuffer(ByteBuffer byteBuffer) {
       if (byteBuffer == null || !byteBuffer.isDirect()) {
         return;
       }
       try {
         PlatformDependent.freeDirectBuffer(byteBuffer);
       } catch (Throwable t) {
         LOGGER.warn("Failed to release direct buffer:" + t.getMessage());
       }
     }
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to