[Haskell-cafe] Fwd: how to increase the stack size

Brandon Moore brandon_m_moore at yahoo.com
Mon Oct 17 07:13:58 CEST 2011

>From: kolli kolli <nammukolli04 at gmail.com>

>Subject: [Haskell-cafe] Fwd: how to increase the stack size
>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",
but 536870912 is already 512MiB of stack.
If that is not enough there is probably something wrong in the program,
maybe an infinite loop.

More information about the Haskell-Cafe mailing list