[relapse.dev@gmx.com: [Haskell-cafe] System.Mem.performGC leaks?]

Don Stewart dons at galois.com
Wed Jul 22 13:39:57 EDT 2009


----- Forwarded message from Neal Alexander <relapse.dev at gmx.com> -----

Date: Tue, 21 Jul 2009 18:48:38 -0700
From: Neal Alexander <relapse.dev at gmx.com>
To: haskell-cafe at haskell.org
Subject: [Haskell-cafe] System.Mem.performGC leaks?

main = forever performGC

The OS reported memory usage skyrockets. If i enable +RTS -S the GC  
statistics show the heap "live bytes" being constant.

Is it accumulating statistics even when profiling is disabled (and can you 
turn that off), or is there something going on with the FFI call to  

Compiled with "ghc -O2 -fvia-C -optc-O2 -funbox-strict-fields -threaded"  

Haskell-Cafe mailing list
Haskell-Cafe at haskell.org

----- End forwarded message -----

More information about the Glasgow-haskell-users mailing list