Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for auto-configuration of crawler thread memory
orbiter036a0c828e58
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.javaindex f3ab267da..90f7fe44a 100644--- a/source/de/anomic/plasma/plasmaSwitchboard.java+++ b/source/de/anomic/plasma/plasmaSwitchboard.java@@ -1188,7 +1188,12 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser} catch (IOException e) {}// set new memory limit for indexer thread- setConfig("80_indexing_memprereq", Math.max(getConfigLong("80_indexing_memprereq", 0), wordIndex.minMem()));+ long memprereq = Math.max(getConfigLong("80_indexing_memprereq", 0), wordIndex.minMem());+ setConfig("80_indexing_memprereq", memprereq);+ setThreadPerformance("80_indexing",+ getConfigLong("80_indexing_idlesleep", 0),+ getConfigLong("80_indexing_busysleep", 0),+ memprereq);return hasDoneSomething;} catch (InterruptedException e) {