I have a program and try to index a large collection of XML files. After
about 9000 files (~2K each) , it will throw exception to complain that it
couldn't rename 'segments.new' to 'segments' or rename 'deletable.new' to
'deletable'. But the file 'segments.new' or 'deletable.new' has write
permission.

Has anybody come across this before? More information at the end of this
message.

Regards,
Lixin

All files are stored on local disk.

The actual message read as following:

-----------
... couldnt rename segments.new to segments  Error Code: (2830620)
------------

My java code looks like following:

----------------
    try {
      if (contentDoc != null) {
        writer.addDocument(contentDoc);
      }
    } catch (java.io.IOException e) {
      throw new XMLSearchException("Error adding doc " + urlPath +
          " to IndexWriter: " + e.getMessage());
    }
----------

My machine has following configuration:

------------
RAM:  512Mb
OS:     Win2K with SP1
CPU:    ~800Mhz
------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to