Fix heap overflow due to limit-build-mem issue

This commit is contained in:
Harendra Kumar 2021-04-07 18:58:30 +05:30
parent 9606875dac
commit 0bfa00bb66

View File

@ -149,7 +149,9 @@ library
common bench-options
import: compile-options, optimization-options, bench-depends
ghc-options: -rtsopts +RTS -M512M -RTS
ghc-options: -rtsopts
if flag(limit-build-mem)
ghc-options: +RTS -M512M -RTS
build-depends: streamly-benchmarks == 0.0.0
-- Some benchmarks are threaded some are not
@ -157,7 +159,9 @@ common bench-options-threaded
import: compile-options, optimization-options, bench-depends
-- -threaded and -N2 is important because some GC and space leak issues
-- trigger only with these options.
ghc-options: -threaded -rtsopts -with-rtsopts "-N2" +RTS -M512M -RTS
ghc-options: -threaded -rtsopts -with-rtsopts "-N2"
if flag(limit-build-mem)
ghc-options: +RTS -M512M -RTS
build-depends: streamly-benchmarks == 0.0.0
-------------------------------------------------------------------------------