
17 Mar
2004
17 Mar
'04
11:19 a.m.
Hi, my program throws Stack space overflow: current size 1048576 bytes. Use `+RTS -Ksize' to increase it. only when translated with "-O". Is it possible that the next release of ghc uses a higher stack size at least when the "-O" flag is set? (Only to reduce the likelyhood that our users need to supply RTS flags.) Maybe it is even possible to add a ghc flag that allows to set the default Ksize of the generated programs. Someone told me to link in an additional header file, but maybe you can supply a more convienent solution. Christian