[Haskell-cafe] Program with ByteStrings leads to memory exhaust.

Nicolas Pouillard nicolas.pouillard at gmail.com
Mon Sep 14 10:19:40 EDT 2009

Excerpts from Grigory Sarnitskiy's message of Mon Sep 14 16:05:41 +0200 2009:
> I have a simple program that first generates a large (~ 500 mb) file of random numbers and then reads the numbers back to find their sum.
> It uses Data.Binary and Data.ByteString.Lazy.

I do think that this is due to splitAt but I didn't made a deep investigation.

Nicolas Pouillard

More information about the Haskell-Cafe mailing list