now that we have a file based transaction log, increate the memory clean threshold

This commit is contained in:
kimchy 2010-07-18 21:24:52 +03:00
parent 49f8501a5b
commit 8ac8dd818d
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ public class AlphaMemoryMonitor extends AbstractLifecycleComponent<MemoryMonitor
this.threadPool = threadPool; this.threadPool = threadPool;
this.indicesMemoryCleaner = indicesMemoryCleaner; this.indicesMemoryCleaner = indicesMemoryCleaner;
this.upperMemoryThreshold = componentSettings.getAsDouble("upper_memory_threshold", 0.8); this.upperMemoryThreshold = componentSettings.getAsDouble("upper_memory_threshold", 0.95);
this.lowerMemoryThreshold = componentSettings.getAsDouble("lower_memory_threshold", 0.5); this.lowerMemoryThreshold = componentSettings.getAsDouble("lower_memory_threshold", 0.8);
this.interval = componentSettings.getAsTime("interval", timeValueMillis(500)); this.interval = componentSettings.getAsTime("interval", timeValueMillis(500));
this.fullThreshold = componentSettings.getAsInt("full_threshold", 2); this.fullThreshold = componentSettings.getAsInt("full_threshold", 2);
this.cleanThreshold = componentSettings.getAsInt("clean_threshold", 10); this.cleanThreshold = componentSettings.getAsInt("clean_threshold", 10);