#3502: GC leaks memory under -threaded
-------------------------+--------------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Component: Runtime System
Version: 6.10.4 | Severity: critical
Keywords: | Testcase:
Os: Windows | Architecture: Unknown/Multiple
-------------------------+--------------------------------------------------
The following program leaks 2Mb/s under Windows:
{{{
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.10.4
$ cat Test.hs
import System.Mem
import Control.Monad
main = forever performGC
$ ghc --make Test.hs -threaded
$ Test.exe
}}}
This leak does not occur if you remove the {{{-threaded}}}, or if you run
the same test on Linux. I am using {{{forever}}} to leak memory more
quickly, but I believe the same issues will arise if {{{performGC}}} is
called in the normal course of a program.
I consider this leak to be critical, so have marked severity
appropriately.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3502>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs