[Haskell-cafe] Diagnose stack space overflow

Logo Logo saraslogo at gmail.com
Mon Jul 4 17:44:58 CEST 2011


Hi,

For the following error:

Stack space overflow: current size 8388608 bytes.
Use `+RTS -Ksize -RTS' to increase it.

I want to find out the culprit function and rewrite it tail-recursively. Is
there a way to find out which function is causing this error other
than reviewing the code manually?

Thanks,
Loganathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110704/6bbaac3d/attachment.htm>


More information about the Haskell-Cafe mailing list