Evan Klitzke <e...@eklitzke.org> writes:

> [...] Unfortunately, this doesn't seem to work; whenever the
> program terminates due to running out of heap space, the generated
> .prof file is empty.

Unless there's some specific problem with profiling in combination
with threading, you can get heap profiling from a crashing program.
Not what you wanted, but you might at least be able to see what is
allocated.

Previously, you'd have to edit the profiling output (.hp file) by hand
to chop off the last and partial profiling record, but I think this
might have been fixed in later GHC's.

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to