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

#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

#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) | Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #13930 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * related: => #13930 Comment: I believe this is related to #13930. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13982#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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) | Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #13930 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mniip): I have a full profiling file but I can't upload it (500 KB). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13982#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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) | Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #13930 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mniip): * Attachment "cabal.prof.part1.txt" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13982 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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) | Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #13930 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by mniip): * Attachment "cabal.prof.part2.txt" added. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13982 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13982: HEAD GHC+Cabal uses too much memory -------------------------------------+------------------------------------- Reporter: mniip | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: libraries | Version: 8.3 (other) | Resolution: duplicate | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: #13930 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by hvr): * status: new => closed * resolution: => duplicate Comment: closing in favor of #13930 which contains more information and pointers to recently filed issues in the cabal issue tracker. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13982#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC