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: Writer memory released after flush
Date Thu, 08 Jan 2009 10:22:01 GMT

IndexWriter holds onto the memory & recycles it.  It's best to close  
the writer if you need to release the memory.

Mike

Ganesh wrote:

> I am maintaing multiple indexes and all writers will be opened.  
> Based on some criteria, the document is added to a particular index.  
> I am using 50 MB of RAM buffer size. Whether the buffer will be  
> released once flush or optinization done or the writer will maintain  
> the memory and recyle it.
>
> Regards
> Ganesh
>
>
> Send instant messages to your online friends http://in.messenger.yahoo.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


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