From 7876cf677ce086c22faf8909bcec7ac8811f1d39 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 8 Aug 2018 11:26:26 +0200 Subject: [PATCH] Increase maxHeapSize more gradually --- src/hydra-eval-jobs/hydra-eval-jobs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydra-eval-jobs/hydra-eval-jobs.cc b/src/hydra-eval-jobs/hydra-eval-jobs.cc index 353c737e..d0ecfeba 100644 --- a/src/hydra-eval-jobs/hydra-eval-jobs.cc +++ b/src/hydra-eval-jobs/hydra-eval-jobs.cc @@ -312,7 +312,7 @@ int main(int argc, char * * argv) if (status != 0) throw Exit(WIFEXITED(status) ? WEXITSTATUS(status) : 99); - maxHeapSize = maxHeapSize * 1.1; + maxHeapSize += 64 * 1024 * 1024; lastAttrPath = drainFD(pipe.readSide.get()); } while (lastAttrPath != "");