[Haskell-cafe] Increase GHC stack size?

Mathijs Kwik mathijs at bluescreen303.nl
Sun Feb 5 20:21:20 CET 2012


./myProgram +RTS -K16000000

If that gives an error, you're program was probably compiled without
support for setting RTS options from the command line.
Recompile with -rtsopts.
Then the above should work



On Sun, Feb 5, 2012 at 8:16 PM, Michael Rice <limitcase at gmail.com> wrote:
> Stack space overflow: current size 8388608 bytes.
> Use `+RTS -Ksize -RTS' to increase it.
>
> ======================
>
> Couldn't find much on the man or info pages. Example please, say double it
> (16000000) for starters.
>
> Michael
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list