#7428: Occurrence analyzer out of memory
-------------------------------+--------------------------------------------
    Reporter:  nudded          |       Owner:                    
        Type:  bug             |      Status:  new               
    Priority:  normal          |   Milestone:                    
   Component:  Compiler        |     Version:  7.4.2             
    Keywords:                  |          Os:  MacOS X           
Architecture:  x86_64 (amd64)  |     Failure:  Compile-time crash
  Difficulty:  Unknown         |    Testcase:                    
   Blockedby:                  |    Blocking:                    
     Related:                  |  
-------------------------------+--------------------------------------------

Comment(by nudded):

 I used several debug flags. The output of dump-occur-anal seems to
 increase in size when adjusting the size of the LargeState transformer
 stack. So, in the attached code LargeState consists of 10 StateT
 transformers.

 When compiling with 7 it will still work. When compiling with 8 it will
 try to allocate > 4 gigs of memory.

 Those are some of the observations I ran into when trying to figure out
 what is going on.

 Sidenote: when compiling without optimisation there is no problem at all.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to