#4270: Out of memory when compiling Statistics.Quantile
-------------------------------+--------------------------------------------
    Reporter:  Itkovian        |        Owner:                     
        Type:  bug             |       Status:  new                
    Priority:  highest         |    Milestone:  6.14.1             
   Component:  Compiler        |      Version:  6.13               
    Keywords:  Out-of-memory   |     Testcase:  Statistics.Quantile
   Blockedby:                  |   Difficulty:                     
          Os:  Linux           |     Blocking:                     
Architecture:  x86_64 (amd64)  |      Failure:  Compile-time crash 
-------------------------------+--------------------------------------------

Comment(by igloo):

 I looked into a slowdown higher up in the dependency tree:

 Timing compilation of the attached 4270.hs with `ghc -c 4270.hs -O`, with
 6.12.2 and HEAD, with and without `USE_PRAGMAS` defined:
 ||                || 6.12.2 || HEAD  ||
 || USE_PRAGMAS    || 1.60s  || 5.67s ||
 || No USE_PRAGMAS || 1.76s  || 1.84s ||
 My hunch is that HEAD is paying more attention to INLINE pragmas, and so
 generating more code, and thus using more memory.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4270#comment:3>
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