[GHC] #13110: GHC API allocates memory which is never GC'd

GHC ghc-devs at haskell.org
Sat Nov 18 19:39:55 UTC 2017


#13110: GHC API allocates memory which is never GC'd
-------------------------------------+-------------------------------------
        Reporter:  DanielG           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHC API           |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Thanks DanielG, this is quite helpful.

 If I compile with profiling enabled the profile claims that heap size
 increases to around 100 MB and then immediately decreases back to
 essentially zero. The GC statistics reported are in line with comment:10:
 {{{
 $ ./LeakyResetStringTable2 +RTS -p -T -hy
 gcdetails_live (MB): 0.9342498779296875
 gcdetails_mem_in_use (MB): 82.0
 VmData (MB): 235.83984375
 }}}

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


More information about the ghc-tickets mailing list