From 8c09118f4c1585f4fa07d9c244ef363b8d4c409f Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 3 Mar 2022 23:36:37 +0100 Subject: [PATCH] Raise heap size of memory tests from 8M to 16M (fixes #8029) There appears to be a small regression in heap usage with GHC 9.2.1. This raises the limit to accommodate that, and give a bit of a buffer. Compare analysis at https://github.com/haskell/cabal/issues/8029. --- cabal-install/cabal-install.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cabal-install/cabal-install.cabal b/cabal-install/cabal-install.cabal index 9f68b0137b1..216588ade87 100644 --- a/cabal-install/cabal-install.cabal +++ b/cabal-install/cabal-install.cabal @@ -339,7 +339,7 @@ Test-Suite memory-usage-tests hs-source-dirs: tests default-language: Haskell2010 - ghc-options: -threaded -rtsopts "-with-rtsopts=-M8M -K1K" + ghc-options: -threaded -rtsopts "-with-rtsopts=-M16M -K1K" other-modules: UnitTests.Distribution.Solver.Modular.DSL