[GHC] #13080: Memory leak caused by nested monadic loops (was: Constant values are not floated out of the loop)

GHC ghc-devs at haskell.org
Tue Jan 10 21:02:27 UTC 2017


#13080: Memory leak caused by nested monadic loops
-------------------------------------+-------------------------------------
        Reporter:  Feuerbach         |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Runtime           |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Feuerbach):

 I think I now understand what's going on here. (Basically, what Reid
 said.) I summarized my thoughts in this blog post: https://ro-
 che.info/articles/2017-01-10-nested-loop-space-leak

 I don't know what ghc can do here, but hopefully there is something.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13080#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list