From 02ae91c64d3794fada2b1452e62acb8983dffbb3 Mon Sep 17 00:00:00 2001 From: Brandon Simmons Date: Wed, 24 Jul 2019 10:41:52 +0530 Subject: [PATCH] Increase idle GC interval to workaround CPU leak issue (#2581) This seems to resolve the issue locally (and has worked in the past), but it's not clear what exactly is going on here (in particular, why this should resolve what looks like a memory leak). It certainly seems like a GHC issue of some sort. Closes #2565 --- server/graphql-engine.cabal | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/graphql-engine.cabal b/server/graphql-engine.cabal index c6f1602e7d5f2..13d1606e51e79 100644 --- a/server/graphql-engine.cabal +++ b/server/graphql-engine.cabal @@ -362,4 +362,5 @@ executable graphql-engine -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts - -with-rtsopts=-N + -- Re. `-I2` see #2565 + "-with-rtsopts=-N -I2"