Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added one more postprocessing low memory check
Michael Peter Christene644981697fc
diff --git a/source/net/yacy/search/schema/CollectionConfiguration.java b/source/net/yacy/search/schema/CollectionConfiguration.javaindex 0a518bfee..80997b3f2 100644--- a/source/net/yacy/search/schema/CollectionConfiguration.java+++ b/source/net/yacy/search/schema/CollectionConfiguration.java@@ -1211,6 +1211,10 @@ public class CollectionConfiguration extends SchemaConfiguration implements SeriString id;while ((id = ids.take()) != AbstractSolrConnector.POISON_ID) {this.crt.put(ASCII.getBytes(id), new double[]{0.0d,0.0d}); //{old value, new value}+ if (MemoryControl.shortStatus()) {+ ConcurrentLog.warn("CollectionConfiguration", "terminated CRHost collection during postprocessing because of short memory");+ break;+ }}} catch (final InterruptedException e2) {}