lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ayende Rahien <aye...@ayende.com>
Subject Re: Memory Leak because of ClosableThreadLocal
Date Wed, 15 Dec 2010 12:58:26 GMT
No, I am using Lucene.NET 2.9.2, and it showed up there.
More specifically, I forked it around r48322

On Wed, Dec 15, 2010 at 2:02 PM, Robert Jordan <robertj@gmx.net> wrote:

> On 15.12.2010 12:58, Robert Jordan wrote:
>
>> On 15.12.2010 09:12, Ayende Rahien wrote:
>>
>>> The reasoning for this class doesn't hold for .NET, but that is beside
>>> the
>>> point.
>>> There is somewhere in Lucene where this doesn't clean up (specifically,
>>> ThreadResources for Term Cache)
>>> That results in ClosableThreadLocal.slots filling up.
>>>
>>> I fixed this by modifying ClosableThreadLocal to use the .NET ThreadLocal
>>> class.
>>> If you want to keep Lucene on 2.0, you probably would want to implement a
>>> better solution, because as it stands, there isn't a good solution for
>>> this.
>>>
>>
>> This is already fixed in Lucene 2.9.2.
>>
>
> Correction: in *Lucene.Net* 2.9.2 :)
>
> Robert
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message