horizonzy commented on PR #3913:
URL: https://github.com/apache/bookkeeper/pull/3913#issuecomment-1505400156

   > ConcurrentOpenHashMap default DefaultConcurrencyLevel=16. We have hundreds 
of bookie nodes. Due to the feature of bookie polling and writing, the client 
and server have long connection characteristics, which will as a result, the 
memory usage of about 65552 * 16 * 1776 = 1.74GB cannot be recycled, and the 
space take up by these tables is all size=0 (The broker's owner topic has 
drifted to other brokers due to Full GC).
   
   I have a question about this. The memory occupation is not about the array 
size. The key(CompletionKey) and the value(CompletionValue) is the occupier. As 
long as the key and the value is removed, the memory occupation will be 
decrease.
   We make the array size autoShrink didn't help the GC


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