[Haskell-cafe] The Garbage Collector Ate My Homework

Thomas Conway drtomc at gmail.com
Tue Jul 10 19:59:52 EDT 2007


Hmm, looks like the garbage collector got hungry again:

1093,741,664,672 bytes allocated in the heap
1006,759,632,160 bytes copied during GC (scavenged)
72,181,353,728 bytes copied during GC (not scavenged)
400,940,412 bytes maximum residency (8853 sample(s))

      76353 collections in generation 0 (3724.54s)
       8853 collections in generation 1 (19689.00s)

       1065 Mb total memory in use

  INIT  time    0.00s  (  0.00s elapsed)
  MUT   time  2619.54s  (3103.46s elapsed)
  GC    time  23413.54s  (23569.24s elapsed)
  RP    time    0.00s  (  0.00s elapsed)
  PROF  time  2167.91s  (2204.09s elapsed)
  EXIT  time    0.00s  (  0.08s elapsed)
  Total time  28201.00s  (28876.80s elapsed)

  %GC time      83.0%  (81.6% elapsed)

  Alloc rate    417,531,666 bytes per MUT second

  Productivity   9.3% of total user, 9.1% of total elapsed

And that was with -H700M.

What a shame the heap profiler (-hb) aborts on my program. :-( Still,
-hc and -hd seem to work, the only hassle is the hours of running time
required to get things to go bad.

cheers,
T.
-- 
Dr Thomas Conway
drtomc at gmail.com

Silence is the perfectest herald of joy:
I were but little happy, if I could say how much.


More information about the Haskell-Cafe mailing list