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.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to