[GHC] #3972: ghc 6.12.1 and 6.13.20090922 consume a lot more memory than 6.10.4 when compiling language-python package

GHC cvs-ghc at haskell.org
Wed Jun 2 05:38:30 EDT 2010


#3972: ghc 6.12.1 and 6.13.20090922 consume a lot more memory than 6.10.4 when
compiling language-python package
-------------------------------+--------------------------------------------
    Reporter:  bjpop           |        Owner:  simonpj                                                               
        Type:  bug             |       Status:  new                                                                   
    Priority:  high            |    Milestone:  6.12.3                                                                
   Component:  Compiler        |      Version:  6.12.1                                                                
    Keywords:  memory usage    |   Difficulty:                                                                        
          Os:  Linux           |     Testcase:  http://projects.haskell.org/language-python/language-python-0.2.tar.gz
Architecture:  x86_64 (amd64)  |      Failure:  Compile-time performance bug                                          
-------------------------------+--------------------------------------------

Comment(by bjpop):

 Someone told me that they succeeded in building language-python with 6.12
 as follows (I quote):

 "For language-python, I've put {-# OPTIONS -O0 -v #-} pragma on
 two Parser.y files. -O0 is obvious, and someone mentioned that
 since it is most likely a strictness problem, writing verbose
 messages will help by forcing thunks.
 After that it builds under 1.1 GB RES."

 I'm trying to get more information about the exact affect of -v (and hence
 maybe space leak evidence).

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


More information about the Glasgow-haskell-bugs mailing list