[Haskell-cafe] Fwd: how to increase the stack size
daniel.is.fischer at googlemail.com
Mon Oct 17 04:58:19 CEST 2011
On Monday 17 October 2011, 04:39:49, kolli kolli wrote:
> when I am running the program in my terminal on ubuntu its showing me
> GHC stack-space overflow: current limit is 536870912 bytes.
> Use the `-K<size>' option to increase it.
> how can i increase the stack size????Plz help me out....
$ ./yourProg +RTS -K32M -RTS args
to set the stack size to 32M; args are the command line arguments you want
to pass to yourProg, if there are none, the -RTS isn't necessary.
More information about the Haskell-Cafe