lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Huge number of Term objects in memory gives OutOfMemory error
Date Tue, 18 Mar 2008 11:53:27 GMT

<Richard.Bolen@gxs.com> wrote:

>
> Does each searchable have it's own copy of Term and TermInfo  
> arrays?  So the amount in memory would grow with each new  
> Searchable instance? If so, it might be worthwhile to implement a  
> singleton MultiSearcher that is closed and re-opened periodically.   
> What do you think?

Yes, yes and yes a single shared MultiSearcher would be better.

Mike

---------------------------------------------------------------------
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