Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
protection against too many files in RICELL in case of massive emergency dumps caused by low memory
orbiterb81c7467d830
diff --git a/source/de/anomic/kelondro/text/IndexCell.java b/source/de/anomic/kelondro/text/IndexCell.javaindex a41db0dd0..439095f8f 100644--- a/source/de/anomic/kelondro/text/IndexCell.java+++ b/source/de/anomic/kelondro/text/IndexCell.java@@ -279,7 +279,7 @@ public final class IndexCell extends AbstractBufferedIndex implements BufferedIn}// clean-up the cache- if (this.lastCleanup + cleanupCycle > System.currentTimeMillis()) return;+ if (this.array.size() < 50 && this.lastCleanup + cleanupCycle > System.currentTimeMillis()) return;//System.out.println("----cleanup check");this.array.shrink(this.targetFileSize, this.maxFileSize);this.lastCleanup = System.currentTimeMillis();