lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: OOM with 2.9
Date Mon, 13 Jul 2009 09:40:53 GMT
On Sun, Jul 12, 2009 at 10:51 AM, eks dev<> wrote:

> MMapDirectory has support for chunking (Ineteger.MAX_VALUE) anyhow... maybe for such
cases this threshold can become user settable. I will try to experiment with it  (I am talking
about MMapDirectory -> private final int MAX_BBUF = Integer.MAX_VALUE;)

This chunking doesn't reduce virtual memory usage, because the buffers
are all mapped up front on opening the IndexInput.

It's only done because of a limitation of ByteBuffer (it uses int not
long to address the values).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message