[GHC] #1136: High memory use when compiling many let bindings.

GHC trac at galois.com
Tue Feb 6 10:50:59 EST 2007


#1136: High memory use when compiling many let bindings.
-------------------------+--------------------------------------------------
    Reporter:  igloo     |       Owner:         
        Type:  bug       |      Status:  new    
    Priority:  normal    |   Milestone:  6.8    
   Component:  Compiler  |     Version:  6.6    
    Severity:  normal    |    Keywords:         
  Difficulty:  Unknown   |    Testcase:         
Architecture:  Unknown   |          Os:  Unknown
-------------------------+--------------------------------------------------
Two programs that generate modules with lots of let bindings that GHC
 struggles to compile. With the first,

 {{{
 ghc -c J.hs
 }}}

 uses >100M of memory which seems a little high. For the second,

 {{{
 ghc -c J2.hs
 }}}

 got past 700M before I killed it, with both 6.6 and HEAD.

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


More information about the Glasgow-haskell-bugs mailing list