ghci uses an enormous amount of memory (recent 6.10 snapshots)
I've been trying out ghc 6.10 snapshots and I just discovered that ghci isn't usable for me. I'm running Gentoo on amd64 and I've both compiled 6.10 myself (using a variant of the ebuild from the Gentoo haskell overlay) and downloaded binary snapshots from haskell.org/ghc/dist/stable/dist (playing games with libedit.so to get them to work).
In both cases, ghci starts sucking up enormous amounts of memory on startup (quickly getting to 1.5G before my machine starts swapping - without loading any packages other than ghc-prim, integer and base). I've specifically observed this problem with 6.10.0.20081007 (i.e. RC1, if I'm reading things correctly), 6.10.0.20081019 and 6.10.0.20081020.
I don't know what's going on, but I didn't have this problem with ghc 6.8.3.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |