lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Can Lucene load more then 2GB into RAM memory?
Date Tue, 14 Mar 2006 03:59:57 GMT
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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message