Stack overflow with Data.Binary

Grzegorz grzegorz.chrupala at
Tue Jun 5 08:13:46 EDT 2007

Christian Maeder <maeder <at>> writes:

> The file "okok" has 3816117 bytes and "-K11m" is sufficient ("-K10m" is
> not).
> That's just above the amount of stack size used without complaining
> (8388608 bytes) when profiling is switched off.

Now I may be missing something but I don't see why the amount of data to process
should matter for stack size: isn't this data going to be allocated on the heap?
I thought stack was for function frames and such...

More information about the Libraries mailing list