lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Friedman" <paulsanfordfried...@yahoo.com>
Subject optimizing index - too many open files
Date Thu, 28 Feb 2002 20:23:58 GMT
Hello all,

I am running into an error:
java.io.FileNotFoundException: /lucene/index/_2vx.tii ( too many open
files )
after my class calls IndexWriter.optimize().

Does anybody know what causes this error?
Any help is appreciated.

( By the way, the site that I am indexing is huge.
  I have a crawler run through the site calling many .jsps, .pdfs, and .html
docs.
  It ran fine two days ago after indexing 3700+ pages. )

Could the index be too large for Lucene to handle?

The error:
java.io.FileNotFoundException: /lucene/index/-2vx.tii ( too many open
files )
    at java.io.RandomAccessFile.open( Native Method )
    at java.io.RandomAccessFile.<init>
    at java.io.RandomAccessFile.<init>
    at org.apache.lucene.store.FSInputStream$Descriptor.<init>
    at org.apache.lucene.store.FSInputStream.<init>
    at org.apache.lucene.store.FSDirectory.openFile
    at org.apache.lucene.index.TermInfosReader.readIndex
    at org.apache.lucene.index.TermInfosReader.<init>
    at org.apache.lucene.index.SegmentReader.<init>
    at org.apache.lucene.index.IndexWriter.mergeSegments
    at org.apache.lucene.index.IndexWriter.optimize


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message