[GHC] #13982: HEAD GHC+Cabal uses too much memory

GHC ghc-devs at haskell.org
Sat Jul 15 23:11:38 UTC 2017


#13982: HEAD GHC+Cabal uses too much memory
-------------------------------------+-------------------------------------
           Reporter:  mniip          |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  libraries      |           Version:  8.3
  (other)                            |
           Keywords:                 |  Operating System:  Linux
       Architecture:  x86_64         |   Type of failure:  Runtime
  (amd64)                            |  performance bug
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 If you install GHC HEAD and bootstrap cabal "2.0.0.0" as submoduled in
 that, whenever installing any packages cabal will hang for minutes before
 dependency resolution and will eat about 10 gigabytes of memory.

 I did a simple profile,

 {{{

 COST CENTRE                                 MODULE
 SRC                                                 %time %alloc
 packageListFromCache.readPackageDescription Distribution.Client.IndexUtils
 Distribution/Client/IndexUtils.hs:(714,5)-(722,61)   95.7   99.4
 }}}

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


More information about the ghc-tickets mailing list