On Thu, Jun 11, 2009 at 12:40 AM, Ketil Malde wrote:
> Evan Klitzke 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 com
I've written a multi-threaded Haskell program that I'm trying to
debug. Basically what's happening is the program runs for a while, and
then at some point one of the threads goes crazy and spins the CPU
while allocating memory; this proceeds until the system runs out of
available memory. I can't f
Evan Klitzke 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 cra
I've written a multi-threaded Haskell program that I'm trying to
debug. Basically what's happening is the program runs for a while, and
then at some point one of the threads goes crazy and spins the CPU
while allocating memory; this proceeds until the system runs out of
available memory. I can't fi