[darcs-users] Re: [BK] upgrade will be needed

Juliusz Chroboczek jch at pps.jussieu.fr
Tue Feb 22 17:18:02 UTC 2005


> I've just glanced at the man page of sbrk.  I don't think the haskell RTS
> ever frees VM, so probably just one call of sbrk(0), or using strace ought
> to work.

Hmm, David, ghc has the most amazing heap profiler I've ever seen.
The only problem is that it doesn't tell you about data manually
allocated with mmap (and you do quite a bit of that, in FastPackedString).

Short story: compile with profiling, run with +RTS -hc, then run hp2ps
on the resulting file.

                                        Juliusz





More information about the darcs-users mailing list