Hi Don, I find this answer confusing. The SO question you're linking to is about heap size, not stack overflow.
The stack size in this example is 8M. The whole heap size may be much bigger (and increasing the stack size may actually remove the overflow). It would be interesting to learn about success stories of investigation of a stack overflow using heap profiling. * Don Stewart <[email protected]> [2011-07-04 12:08:05-0400] > Profile!! > > E.g. > > http://stackoverflow.com/questions/6429085/haskell-heap-issues-with-parameter-passing-style/6429888#6429888 > > > > On Mon, Jul 4, 2011 at 11:44 AM, Logo Logo <[email protected]> wrote: > > 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? -- Roman I. Cheplyaka :: http://ro-che.info/ _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
