Memory leak with parMap
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.8.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | Unknown |
| Architecture | Unknown |