[GHC] #2716: ghci uses an enormous amount of memory (recent 6.10 snapshots)

GHC trac at galois.com
Tue Oct 21 01:05:55 EDT 2008


#2716: ghci uses an enormous amount of memory (recent 6.10 snapshots)
-------------------------------+--------------------------------------------
    Reporter:  ravi            |       Owner:          
        Type:  bug             |      Status:  new     
    Priority:  normal          |   Component:  GHCi    
     Version:  6.10.1          |    Severity:  critical
    Keywords:                  |    Testcase:          
Architecture:  x86_64 (amd64)  |          Os:  Linux   
-------------------------------+--------------------------------------------
 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2716>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list