In this thread Malcolm Wallace says:
I am surprised that no-one has yet mentioned heap profiling. It
is by far the most straightforward way I know to identify memory leaks
in a functional program.
...and then points to this paper.
Posted to functional by andrew cooke on 5/22/01; 12:10:47 AM