On 10/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Does the Sort function create some kind of internal cache?
Yes, it's called the FieldCache, and there is a cache with a weak reference to the index reader as a key. As long as there is a reference to the index reader (even after close() has been called) the cache data will exist. -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server
Observing the heap, it seems that a full garbage collection after calling IndexSearcher.close() still leaves a lot of memory occupied.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]