gianm opened a new pull request, #1270:
URL: https://github.com/apache/parquet-mr/pull/1270

   Addresses https://issues.apache.org/jira/browse/PARQUET-2429.
   
   Currently input buffers are grown one chunk at a time as the compressor or 
decompressor receives successive setInput calls. When decompressing a 64MB 
block using a 4KB chunk size, this leads to thousands of allocations and 
deallocations totaling GBs of memory. By growing the buffer 2x each time, we 
avoid this and instead use a modest number of allocations.


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