Don't give gobs of memory to your java process, you will just make things slower. The kernel will cache your index files.
On Tue, Feb 23, 2021 at 1:45 PM <baris.ka...@oracle.com> wrote: > Ok, but how is this MMapDirectory used then? > > Best regards > > > On 2/23/21 7:03 AM, Robert Muir wrote: > > > > > > On Tue, Feb 23, 2021 at 2:30 AM <baris.ka...@oracle.com > > <mailto:baris.ka...@oracle.com>> wrote: > > > > Hi,- > > > > I tried MMapDirectory and i allocated as big as index size on my > > J2EE > > Container but > > > > > > Don't allocate java heap memory for the index, MMapDirectory does not > > use java heap memory! >