ly923976094 commented on issue #3454: what is the difference between mmap and 
heap?
URL: 
https://github.com/apache/incubator-pinot/issues/3454#issuecomment-463951428
 
 
   > I assume you are referring to segment loadMode configuration. "HEAP" is an 
unfortunate wrong description, but it refers to directly allocated memory (so, 
it is off-heap). All the bytes of a segment are copied into bufers allocated 
via ByteBuffer.allocateDirect().
   > 
   > MMAP mode means the segment file is mapped into memory.
   > 
   > See the class PinotByteBuffer
   
   Which loading mode should be used for real-time and offline tables @mcvsubbu 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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