#3016: Long compile times, large memory use with static data in 6.10
-----------------------------------------------+----------------------------
    Reporter:  dons                            |        Owner:  igloo           
        Type:  bug                             |       Status:  new             
    Priority:  normal                          |    Milestone:  6.12.1          
   Component:  Compiler                        |      Version:  6.10.1          
    Severity:  normal                          |   Resolution:                  
    Keywords:  static data                     |   Difficulty:  Unknown         
    Testcase:  simplCore/should_compile/T3016  |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple                |  
-----------------------------------------------+----------------------------
Comment (by awick):

 Well, it's here when it hits swap (again, that's at a bit over 2GB, and
 takes around 3 minutes):

 {{{
 ghc -O2 -funbox-strict-fields --make Foo.hs
 [ 1 of 25] Compiling Data.Structs     ( Data/Structs.hs, Data/Structs.o )
 [ 2 of 25] Compiling Data.Data31      ( Data/Data31.hs, Data/Data31.o )
 }}}

 This is a 32-bit machine, as an aside. It completes after ~30 minutes,
 which is actually better than I remembered, although still pretty
 ridiculous when it's just compiling constants. The memory use tends to
 peak around 2.5GB, but spends most of its time at 2.0GB. I'll try to
 replicate your HEAD build shortly.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3016#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to