Marc van Dongen <[EMAIL PROTECTED]> writes:

> When profiling a program of mine, the profiling report
> claims there is a CAF called $gm module Main which
> consumes more than 24 MB of heap. To the best of my
> knowledge, the module Main does not contain any CAF at all.

Try compiling the module with -ddump-simpl -dppr-all, which will print
out the intermediate code after simplifications in the compiler.  It
may be that some code has been lifted out to the top level, thus
forming a CAF.

Alternatively, send us the program and we'll take a look at it.

Cheers,
        Simon

-- 
Simon Marlow                                             [EMAIL PROTECTED]
University of Glasgow                       http://www.dcs.gla.ac.uk/~simonm/
finger for PGP public key

Reply via email to