[Haskell-cafe] Re: Over-allocation

Ketil Malde ketil+haskell at ii.uib.no
Wed Nov 21 09:07:19 EST 2007

Gracjan Polak <gracjanpolak at gmail.com> writes:

> The problem is that my prog allocates a lot just to free it immediatelly after.
> But what?

Use +RTS -hd instead, which will tell you the constructor.

I bet you'll find it's (:), and that you are retaining a load of Chars
from your input file, pending evaluation of the elements from your

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list