loserwang1024 opened a new issue, #1037:
URL: https://github.com/apache/arrow-java/issues/1037

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When using Arrow Java’s compression codecs (e.g. ZSTD) from downstream 
projects, we observed that an OutOfMemoryError: Direct buffer memory during 
decompression can leave the associated BufferAllocator in a leaked state (its 
allocated memory never returns to zero after the failing operation).
   
   In our case this surfaced in Apache Fluss (see 
[apache/fluss#2646](https://github.com/apache/fluss/issues/2646)), but after 
investigation the root cause appears to be in Arrow Java’s compression codec 
implementation:
   
   <img width="2382" height="1338" alt="Image" 
src="https://github.com/user-attachments/assets/6a338f94-8a76-46b4-a7ac-c9ef740d795e";
 />


-- 
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]

Reply via email to