asfimport commented on issue #398:
URL: https://github.com/apache/parquet-format/issues/398#issuecomment-2184154065

   [Chao 
Sun](https://issues.apache.org/jira/browse/PARQUET-2160?#comment-17575579) / 
@sunchao:
   Hmm it does need to allocate extra heap memory and then read the data from 
the decompressor stream into it though, so IMO that's some extra overhead. 
However I do agree this can fix the issue where the off-heap memory usage 
spikes. It seems there is no other easy workaround on this since the 
`BytesInput` is passed to clients as pages after the `decompress` call, which 
makes it hard to determine when they can be closed.


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