lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana Jelda" <ramana.je...@ciao-group.com>
Subject RE: FieldCache: flush cache explicitly
Date Fri, 09 Mar 2007 11:02:06 GMT
Yeap. I strongly support John.
I knew when I reopen indexes. Then what is the reason to wait for garbage
collector..
And that too, FieldCache uses WeakHashMap and that may lead some memory
leaks.

Jelda

> -----Original Message-----
> From: John Wang [mailto:john.wang@gmail.com] 
> Sent: Friday, March 09, 2007 8:23 AM
> To: java-user@lucene.apache.org
> Subject: FieldCache: flush cache explicitly
> 
> I think the api should allow for explicitly flush the fieldcache.
> 
> I have a setup where new readers are being loaded very some 
> period of time. I don't want to rely on Java WeakHashMap to 
> free the cache, I want to be able to do it in a deterministic way.
> 
> It would be great if this can be added to Lucene, I can 
> create a bug if the Lucene gods agree to it :)
> 
> Thanks
> 
> -John
> 
> ---------------------------------------------------------------------
> 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