[GHC] #14336: ghci leaks memory

GHC ghc-devs at haskell.org
Mon Oct 16 20:47:22 UTC 2017


#14336: ghci leaks memory
-------------------------------------+-------------------------------------
        Reporter:  NeilMitchell      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 Hmm I believe this is not Windows specific, peaking into the heap it seems
 to be all `PAPs` and `closures` so I believe it's a generic GHCi bug,
 where a reference is being held to the previous repl results and so
 preventing GC.

 I'll find some time to take a look at it, thanks for the report!

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


More information about the ghc-tickets mailing list