Hello,

A Haskell program of mine regularly runs out of stack space, when dumping
thousands of lines to stdout. Doing a +RTS -H16M -RTS on each execution of
the program seems to fix it. (Should a program really need this much space,
though?)

Is there any way of increasing the amount of stack space available to the
program at *compile* time, rather than at run-time? I looked for a compiler
option like -rts-H16M, but couldn't find one. I'm using GHC 0.29.

Many thanks,

Ed

Reply via email to