gf2121 opened a new pull request, #12630:
URL: https://github.com/apache/lucene/pull/12630

   ### Description
   
   This is a bug left by #12573. As we are using a common `ByteBlockPool` 
across all `BytesRefHash`, the map clear won't help release the memory held by 
`ByteBlockPool` and the pool will allocate new slices when new terms added 
because the offset is never reset.
   
   Sorry for the missing! 
   


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to