lucene-java-user mailing list archives

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

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message