Maybe the default can be conditional on the platform like NIOFSDirectory. On Mon, Jan 11, 2010 at 1:25 PM, Marvin Humphrey <mar...@rectangular.com> wrote: > On Mon, Jan 11, 2010 at 03:20:17PM -0500, Grant Ingersoll wrote: >> Should we really still be defaulting to true for setUseCompoundFile? Do >> people still run out of file handles? > > Yep. You're going to smack up against that limit pretty quick on Mac OS X: > > mar...@smokey:~ $ ulimit -n > 256 > >> If so, why not have them turn it on, instead of everyone else having to turn >> it off. > > Can you up the file descriptor limit from within a running JVM? > > If not, you're setting yourself up with a non-portable default. > > Marvin Humphrey > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org