From 0b294bab5c6348d80c4397609744d9d13088eaf1 Mon Sep 17 00:00:00 2001 From: Swann Moreau Date: Fri, 29 Jan 2021 19:32:37 +0530 Subject: [PATCH] update resource limits on circleci [force ci] GitOrigin-RevId: 0ed0c7d32400f0a940be7ad1b22a6b55b751cbb5 --- server/cabal.project.ci | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/server/cabal.project.ci b/server/cabal.project.ci index 06232d974a5..018b3b7683a 100644 --- a/server/cabal.project.ci +++ b/server/cabal.project.ci @@ -4,9 +4,11 @@ reject-unconstrained-dependencies: all package graphql-engine ghc-options: - -j3 -Werror - -- Limit heap size to a little less than 8GB, which is the amount of - -- available memory on a CircleCI `large` instance. - +RTS -M7500m -RTS + -- Tune for the circleci `xlarge` resource class, which provides + -- 8 vcpus. + -j6 -Werror + -- Limit heap size to 15G, to maintain some breathing room given + -- the 16G of available memory. + +RTS -M15000m -RTS tests: true benchmarks: true