Skip to content

GHC leaks memory when compiling many files

Sorry for the rather imprecise bug report; also, I'm not sure if this is related to #3294 (closed) or #1334 (closed).

cabal install highlighting-kate-0.2.5.1 --enable-library-profiling --reinstall

On my machine, this takes a lot of memory: when passing 1.7G, I have to kill it. However, compilation of single modules from that package takes much fewer memory.

Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information