[Haskell-cafe] announce: Glome.hs raytracer

Justin Bailey jgbailey at gmail.com
Wed Mar 26 17:52:43 EDT 2008

On Wed, Mar 26, 2008 at 2:33 PM, Jim Snow <jsnow at cs.pdx.edu> wrote:
>  -Memory consumption is atrocious: 146 megs to render a scene that's a
>  33k ascii file.  Where does it all go?  A heap profile reports the max
>  heap size at a rather more reasonable 500k or so.  (My architecture is
>  64 bit ubuntu on a dual-core amd.)

Try retainer profiling to see who's holding on to memory. To track
down a suspect, add SCC annotations and filter the retainer profile to
just those annotations (-hC option).

Heap profiling is documented at


More information about the Haskell-Cafe mailing list