leventov commented on issue #4422: Agile, config-less approach to off-heap 
memory management
URL: 
https://github.com/apache/incubator-druid/issues/4422#issuecomment-522494454
 
 
   BTW there is a relatively simple (though hacky) workaround of ByteBuffer's 
2GB limitation without implementing #3892 in full: we can manage a single 
continuous block of off-heap memory as `Memory` object and convert slices of it 
to `ByteBuffer` for further use in Druid's core query processing logic using 
the 
[`unsafeByteBufferView()`](https://datasketches.github.io/api/memory/snapshot/apidocs/org/apache/datasketches/memory/Memory.html#unsafeByteBufferView-long-int-)
 method.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to