
17 Oct
2011
17 Oct
'11
4:30 a.m.
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....
Others have explained how to "Use the `-K<size>' option",
However, those explanations did not take account of the fact that ghc now ignores +RTS options by default at runtime. You need to compile the program with an extra option -rtsopts, if you want the +RTS options to work at runtime. Regards, Malcolm