Thanks for your reply MIke, I create this bug.
https://issues.apache.org/jira/browse/LUCENE-3841
Matt
On Thu, Mar 1, 2012 at 2:32 PM, Michael McCandless
wrote:
> Phew, tricky.
>
> The problem is purging is potentially costly... it iterates all
> entries in the map (threads that have called get)
Phew, tricky.
The problem is purging is potentially costly... it iterates all
entries in the map (threads that have called get) looking for dead
threads.
Can you open an issue...? We can iterate there. Thanks for raising this,
Mike McCandless
http://blog.mikemccandless.com
On Wed, Feb 29, 20
We tracked down a large memory leak (effectively a leak anyway) caused
by how Analyzer users CloseableThreadLocal.
CloseableThreadLocal.hardRefs holds references to Thread objects as
keys. The problem is that it only frees these references in the set()
method, and SnowballAnalyzer will only call s