Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Created: (LUCENE-978) GC resources in TermInfosReader when exception occurs in its constructor

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Aug 15, 2007, 8:19 AM

Post #1 of 1 (566 views)
Permalink
[jira] Created: (LUCENE-978) GC resources in TermInfosReader when exception occurs in its constructor

GC resources in TermInfosReader when exception occurs in its constructor
------------------------------------------------------------------------

Key: LUCENE-978
URL: https://issues.apache.org/jira/browse/LUCENE-978
Project: Lucene - Java
Issue Type: Bug
Components: Index
Reporter: Ning Li
Priority: Minor
Attachments: TermInfosReader.patch

I replaced IndexModifier with IndexWriter in test case TestStressIndexing and noticed the test failed from time to time because some .tis file is still open when MockRAMDirectory.close() is called. It turns out it is because .tis file is not closed if an exception occurs in TermInfosReader's constructor.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.