Stack overflow with Data.Binary
Christian Maeder
maeder at tzi.de
Mon Jun 4 12:55:30 EDT 2007
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.
More information about the Libraries
mailing list