Ticket #2185 (closed bug: fixed)
Memory leak with parMap
| Reported by: | igloo | Owned by: | simonmar |
|---|---|---|---|
| Priority: | high | Milestone: | 7.0.1 |
| Component: | Runtime System | Version: | 6.8.2 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Runtime performance bug | Difficulty: | Moderate (less than a day) |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

