RAMDirectory is indeed currently limited to 2GB. This would not be too hard to fix. Please file a bug report. Better yet, attach a patch.

I assume you're running a 64bit JVM. If so, then MMapDirectory might also work well for you.

Doug

zzzzz shalev wrote:
this is in continuation of a previous email i sent
i have a 6gb index containing over 12 million terms. looking at the Lucene code RAMDirectory.java i see an int cast of the index file size, meaning there is a 2GB limit did i miss something? has anyone loaded more then a single 2GB index into RAM ?????? thanks,
                
---------------------------------
Yahoo! Mail
Bring photos to life! New PhotoMail makes sharing a breeze.

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

Reply via email to