Skip to content

Commit 7ddf1bf

Browse files
authored
Adjust default GC allocation area (#1228)
Experimentally, a value of between 32~64M appears to perform the best https://downloads.haskell.org/ghc/latest/docs/users_guide/runtime_control.html#rts-flag--A%20%E2%9F%A8size%E2%9F%A9
1 parent 43f6c88 commit 7ddf1bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ executables:
8787
main: Main.hs
8888
source-dirs: src/
8989
dependencies: echidna
90-
ghc-options: -threaded -with-rtsopts=-N
90+
ghc-options:
91+
- -threaded
92+
- '"-with-rtsopts=-A64m -N"'
9193
when:
9294
- condition: (os(linux) || os(windows)) && flag(static)
9395
ghc-options:

0 commit comments

Comments
 (0)