suiyuzeng opened a new pull request #2891:
URL: https://github.com/apache/bookkeeper/pull/2891


   ### Motivation
   
   fix issue [2806](https://github.com/apache/bookkeeper/issues/2806) OOM as 1 
million ledgers per entry log
   
   
   ### Changes
   1.Add two config entryLogLedgerMapConcurrency and 
flushEntrySortBufferInitSize, to avoid allocating a large contiguous memory.
   2.Reduce memory usage of EntryLogMetadata of entry logs in garbage 
collector. If the retention time of all the entry is the same, we do not need 
to extract the entry logs in retention time to load meta to memory. In 
org.apache.bookkeeper.bookie.GarbageCollectorThread#extractMetaFromEntryLogs, 
if the entry log in retention time, do not extract the entry log.
   


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


Reply via email to