mirror of
https://github.com/composewell/streamly.git
synced 2024-11-09 17:55:23 +03:00
Fix heap overflow due to limit-build-mem issue
This commit is contained in:
parent
9606875dac
commit
0bfa00bb66
@ -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
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user