Doug Cutting wrote:

Jonathan Hager wrote:

Nate Denning encountered the following error when trying to load a
large (greater than 2147483647 bytes) index into a RAMDirectory.  The
server has 12GB of memory, so loading it into memory should not be a
problem.


Have you instead tried copying the index to a ramfs ('mount -t ramfs'), then opening it with a normal FSDirectory? This forces the entire index into RAM without forcing it into Java's heap. In my experience, huge Java heaps are problematic.


another possibility might be to actually split up the index itself and run in more than one JVM and use a dispatcher in front of them, but this depends on your actual requirements on your index.

Michi


Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to