
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....

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.
Are you really sure you want to do that? 512Meg is rather a large stack and most sane programs probably shouldn't use that much. I suspect you have a bug in your program, eg a recursion without a termination condition.
Use the `-K<size>' option to increase it. how can i increase the stack size????Plz help me out....
./program +RTS -K<size> but its unlikely that will actually help you. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
participants (2)
-
Erik de Castro Lopo
-
kolli kolli