dao-jun commented on issue #14705: URL: https://github.com/apache/pulsar/issues/14705#issuecomment-1077033607
In my understanding: skipListSizeLimit: It means how many entries can be added in a `EntryMemTable` skipListArenaChunkSize: It means the memory size of a `Chunk`(a heap memory pool, to avoid frequently memory allocation and a lot of memory fragments). When bookie received an entry, the entry exists in `direct memory`, so that it needs to copy into heap memory(Chunk). skipListArenaMaxAllocSize: It means the threshold of an entry can be copy into `Chunk`. If an entry's size is greater than `skipListArenaMaxAllocSize`, bookie will be allocated heap memory by invoke `new byte[size]` directly. -- 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]
