#2185: Memory leak with parMap
-----------------------------------------+----------------------------------
Reporter: igloo | Owner:
Type: run-time performance bug | Status: new
Priority: normal | Milestone: 6.8.3
Component: Compiler | Version: 6.8.2
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-----------------------------------------+----------------------------------
With the attached `All.hs`, if you run the program without any arguments
(so that it uses `parMap rnf` in `gen_blocks_list`) then its memory usage
keeps going up, even though at the top level it's just running the same
computation 5 times in a row. Memory usage goes up to over 100M.
If you give an argument (any argument, so that it uses `map` instead) then
memory usage is constant and only a few megs.
Happens in 6.8.2 and the HEAD.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2185>
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