luyuncheng commented on PR #11987:
URL: https://github.com/apache/lucene/pull/11987#issuecomment-1334866892

   > Yes, before we work around all that stuff here, I'd also suggest to remove 
those ThreadLocals.
   
   @uschindler I think this issue just have a GC path of ThreadLocals.  BUT, 
for instance in ES,  when there is a 1000-shard-nodes, and normally one shard 
with 40 segments per shard, one opened segments would allocate one buffer with 
retained heap: 100KB, so this would use 4G resident heap memory, even some 
segments are rarely used. 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to