Re: indexWriter.addIndexes, Disk space, and open files

2010-05-25 Thread Regan Heath
? What does it take to remove the files. That is, can you do it manually after the program shuts down? Best Erick On Tue, May 25, 2010 at 5:42 AM, Regan Heath regan.he...@bridgeheadsoftware.com wrote: Hi, Appologies if this the wrong place to post this, or if it has been

Re: indexWriter.addIndexes, Disk space, and open files

2010-06-07 Thread Regan Heath
If you don't want to use the ImDisk software, a small flash drive will do just as well... Regan Heath wrote: Windows XP. The problem occurs on the local file system, but to replicate it more easily I am using http://www.ltr-data.se/opencode.html#ImDisk to mount a virtual 10mb disk

Re: indexWriter.addIndexes, Disk space, and open files

2010-06-07 Thread Regan Heath
. Likely what happened is you hit a disk full inside the try part, and so the finally clause went to close the files, but close then tries to flush the pending buffer, which also hits disk full. Mike On Mon, Jun 7, 2010 at 4:52 AM, Regan Heath regan.he...@bridgeheadsoftware.com wrote

Re: indexWriter.addIndexes, Disk space, and open files

2010-06-07 Thread Regan Heath
That's pretty much exactly what I suspected was happening.  I've had the same problem myself on another occasion... out of interest is there any way to force the file closed without flushing? No, IndexOutput has no such method. We could consider adding one... That sounds useful in general.