[
https://issues.apache.org/jira/browse/LUCENENET-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
George Aroush closed LUCENENET-40.
----------------------------------
Resolution: Won't Fix
Assignee: George Aroush
There are no plans to fix issues with older releases of Lucene.Net. Please
confirm that you are seeing the same problem with Lucene.Net 2.0 if so, provide
an example of how you are indexing to reproduce the leak so we can debug.
Thanks,
-- George
> Memory leaks in 1.9.1-004-27Nov06 from Thread-Local Storage
> -----------------------------------------------------------
>
> Key: LUCENENET-40
> URL: https://issues.apache.org/jira/browse/LUCENENET-40
> Project: Lucene.Net
> Issue Type: Bug
> Environment: Windows XP, .NET 1.1
> Reporter: zarquon78
> Assignee: George Aroush
>
> In both TermInfosReader and SegmentReader, the call to
> System.Threading.Thread.SetData() to release the data is no longer performed.
> This leads to the data remaining attached to the thread. This call is in
> the now commented-out finalized. By adding the call to the Close() or
> DoClose() method, the leak is removed.
> I.e.,
> // TermInfosReader.cs
> public /*internal*/ void Close()
> {
> // ...
> System.Threading.Thread.SetData(enumerators, null); // Added
> }
> // SegmentReader.cs
> protected internal override void DoClose()
> {
> // ...
> System.Threading.Thread.SetData(termVectorsLocal, null); // Added
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.