RaulGracia commented on issue #2269: Bookie shutdown due to  
OutOfDirectMemoryError 
URL: https://github.com/apache/bookkeeper/issues/2269#issuecomment-593888409
 
 
   @aloyszhang @eolivelli I have seen this problem as well. In our case, we 
have prevented this from happening by using `InterleavedLedgerStorage` instead 
of the default one (`SortedLedgerStorage`), as it does not contain 
`EntryMemTable` objects that seem to use significant amount of memory (tested 
with Bookkeeper 4.9.2). Of course, this decision comes at the cost of read 
performance, but in our case we can afford it, as we only read from Bookkeeper 
for recovery after a crash. Since we shifted the ledger type, we have not seen 
more memory issues like this.

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

Reply via email to