Re: Exception while Optimizing the index database



On Fri, 2004-12-03 at 23:34 +0530, Veerapuram Varadhan wrote:
> On Fri, 2004-12-03 at 08:36 -0600, Jon Trowbridge wrote:
> > On Fri, 2004-12-03 at 18:50 +0530, Veerapuram Varadhan wrote:
> > > ERROR: System.IO.IOException: Win32 IO returned ERROR_NO_MORE_FILES.
> > 
> > We are running out of file descriptors.  I just committed a small change
> > to the LuceneDriver that might help with this.
> 
> 147 ?

No, 47.  It is totally arbitrary.

In case anyone is curious, we are talking about 
public bool NeedsOptimize {
	get { 
		// FIXME: 47 is a totally arbitrary number.
		return adds_since_last_optimization
			+ removals_since_last_optimization > 47;
	}
}
from LuceneDriver.cs.

-J





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]