This commit is contained in:
kimchy 2010-06-05 15:59:06 +03:00
parent 83ad15b9f2
commit d9d9304f47
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ public class AlphaMemoryMonitor extends AbstractLifecycleComponent<MemoryMonitor
logger.info(sb.toString());
}
indicesMemoryCleaner.cacheClear();
// TODO this ends up doing a flush with "true", basically, at the end, replacing the IndexWriter, might not be needed with Lucene 3.0.2.
indicesMemoryCleaner.fullMemoryClean();
ThreadLocals.clearReferencesThreadLocals();
fullCounter = 0;