add TODO
This commit is contained in:
parent
83ad15b9f2
commit
d9d9304f47
|
@ -175,6 +175,7 @@ public class AlphaMemoryMonitor extends AbstractLifecycleComponent<MemoryMonitor
|
||||||
logger.info(sb.toString());
|
logger.info(sb.toString());
|
||||||
}
|
}
|
||||||
indicesMemoryCleaner.cacheClear();
|
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();
|
indicesMemoryCleaner.fullMemoryClean();
|
||||||
ThreadLocals.clearReferencesThreadLocals();
|
ThreadLocals.clearReferencesThreadLocals();
|
||||||
fullCounter = 0;
|
fullCounter = 0;
|
||||||
|
|
Loading…
Reference in New Issue