Opened 2 years ago

Closed 19 months ago

#13982 closed bug (duplicate)

HEAD GHC+Cabal uses too much memory

Reported by: mniip Owned by:
Priority: normal Milestone:
Component: libraries (other) Version: 8.3
Keywords: Cc:
Operating System: Linux Architecture: x86_64 (amd64)
Type of failure: Runtime performance bug Test Case:
Blocked By: Blocking:
Related Tickets: #13930 Differential Rev(s):
Wiki Page:


If you install GHC HEAD and bootstrap cabal "" 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

Attachments (2) (256.0 KB) - added by mniip 2 years ago. (232.7 KB) - added by mniip 2 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 2 years ago by RyanGlScott

I believe this is related to #13930.

comment:2 Changed 2 years ago by mniip

I have a full profiling file but I can't upload it (500 KB).

Changed 2 years ago by mniip

Attachment: added

Changed 2 years ago by mniip

Attachment: added

comment:3 Changed 19 months ago by hvr

Resolution: duplicate
Status: newclosed

closing in favor of #13930 which contains more information and pointers to recently filed issues in the cabal issue tracker.

Note: See TracTickets for help on using tickets.