[GHC] #13586: ghc --make seems to leak memory

GHC ghc-devs at haskell.org
Tue Jan 22 22:03:09 UTC 2019


#13586: ghc --make seems to leak memory
-------------------------------------+-------------------------------------
        Reporter:  MikolajKonarski   |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Compile-time      |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13379 #13564     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Would it be reasonable? Perhaps. Would it be easy to implement? I don't
 believe so. You would need to somehow walk the heap looking for references
 to freed interfaces so that they can be GC'd (or make any reference that
 might refer to something in another module weak, which would come at quite
 some cost).

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


More information about the ghc-tickets mailing list