
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 6.10.0.20081007: http://www.haskell.org/ghc/ :? 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 http://hackage.haskell.org/trac/ghc/ticket/2716 (closed as invalid as the problem isn't with GHC) Gentoo bug report at http://bugs.gentoo.org/237882 to fix gentoo's libedit. You can try to apply the patch in the gentoo bug locally and see if that resolves the issue. Cheers, Lennart K