
4 Jun
2007
4 Jun
'07
12:55 p.m.
Christian Maeder schrieb:
$ ./foo < okok 58386 $ ghc --make -O2 -prof -auto-all foo.hs [1 of 1] Compiling Main ( foo.hs, foo.o ) Linking foo ... $ ./foo < okok Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it.
But it goes through with increased stack space! $ ./foo < okok +RTS -K100m 58386 So this is quite normal behaviour. Profiling may need more stack space. C.