ref #7980 reduce minFreeHeap for aggregation
authorAndreas Müller <a.mueller@bgbm.org>
Wed, 6 Oct 2021 12:16:21 +0000 (14:16 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Wed, 6 Oct 2021 12:16:21 +0000 (14:16 +0200)
cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/description/DescriptionAggregationBase.java

index fa3242d6e7e93cf3c3a3129723c1e664e3663e8a..c241765301329e96f3da90055967df0f261def58 100644 (file)
@@ -63,7 +63,7 @@ public abstract class DescriptionAggregationBase<T extends DescriptionAggregatio
 
     public static final Logger logger = Logger.getLogger(DescriptionAggregationBase.class);
 
-    private static final long BATCH_MIN_FREE_HEAP = 800  * 1024 * 1024;  //800 MB
+    private static final long BATCH_MIN_FREE_HEAP = 200  * 1024 * 1024;  //800 MB
     /**
      * ratio of the initially free heap which should not be used
      * during the batch processing. This amount of the heap is reserved