Lennart Kolmodin kolmodin at
Wed Oct 29 16:49:18 EDT 2008

Anatoly Yakovenko wrote:
> I am using the gentoo package for 6.10.1 and when i start ghci it
> tries to allocate over 1gb of memory, which hits my ulimit.
> Is anyone else getting absurd memory usage when trying to start ghci?
> $ ghci
> GHCi, version  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer ... linking ... done.
> Loading package base ... linking ... done.
> ghc: out of memory (requested 1048576 bytes

Likely the same bug we've seen before with libedit, or related;
GHC bug reported at 
(closed as invalid as the problem isn't with GHC)
Gentoo bug report at to fix gentoo's libedit.

You can try to apply the patch in the gentoo bug locally and see if that 
resolves the issue.

   Lennart K

More information about the Glasgow-haskell-users mailing list