-
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
> -
&
After discussing this on java-dev:
http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200807.mbox/[EMAIL
PROTECTED]
it seems that this is not in fact a leak but rather a delayed GC
issue. The objects are eventually freed, on Sun 1.4, 1.5 and 1.6.
When a ThreadLocal instance beco
Ugh! I'll move this to java-dev to brainstorm fixes...
Mike
Yonik Seeley wrote:
On Mon, Jul 7, 2008 at 2:43 PM, Michael McCandless
<[EMAIL PROTECTED]> wrote:
So now I'm confused: the SegmentReader itself should no longer be
reachable,
assuming you are not holding any references to your In
On Mon, Jul 7, 2008 at 2:43 PM, Michael McCandless
<[EMAIL PROTECTED]> wrote:
> So now I'm confused: the SegmentReader itself should no longer be reachable,
> assuming you are not holding any references to your IndexReader.
>
> Which means the ThreadLocal instance should no longer be reachable.
It
e in lucene-2.2.0 and lucene-2.3.2.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/ThreadLocal-in-SegmentReader-tp18306230p18306230.html
Sent from the Lucene - Java Users mailing list archive at
Nabble.com.
---
er) then the
>>> ThreadLocal value remains, but that value is a shallow clone of the
>>> original TermVectorsReader and should not be consuming that much RAM
>>> per thread.
>>>
>>> So I think it's OK?
>>>
>>> Mike
>>>
&
;>> Mike
>>>
>>> Roman Puchkovskiy wrote:
>>>
>>>>
>>>> Hi.
>>>>
>>>> There's a ThreadLocal field in SegmentReader (it's called
>>>> termVectorsLocal).
>>>> Some value is put to it, but
nd lucene-2.3.2.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/ThreadLocal-in-SegmentReader-tp18306230p18306230.html
Sent from the Lucene - Java Users mailing list archive at
Nabble.com.
-
To unsubscrib
er (it's called
>> termVectorsLocal).
>> Some value is put to it, but it's never cleared.
>> Is it ok? It looks like sometimes this behavior may lead to leaks.
>>
>> This is the same in lucene-2.2.0 and lucene-2.3.2.
>>
>> Thanks in advance.
>
the same in lucene-2.2.0 and lucene-2.3.2.
Thanks in advance.
--
View this message in context:
http://www.nabble.com/ThreadLocal-in-SegmentReader-tp18306230p18306230.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
---
this message in context:
http://www.nabble.com/ThreadLocal-in-SegmentReader-tp18306230p18306230.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
11 matches
Mail list logo