i wrote a patch for this and the difference is unbelievable, the memory footprint has been cut almost in half and it seems like performance is basically the same if not better!!! if anyone is interested let me know
Doug Cutting <[EMAIL PROTECTED]> wrote: 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] --------------------------------- Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze.