[GHC] #2762: Excessive heap usage

GHC trac at galois.com
Sun Nov 30 15:54:31 EST 2008


#2762: Excessive heap usage
---------------------------------+------------------------------------------
    Reporter:  igloo             |        Owner:                  
        Type:  bug               |       Status:  new             
    Priority:  normal            |    Milestone:  6.10.2          
   Component:  Compiler          |      Version:  6.11            
    Severity:  normal            |   Resolution:                  
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Comment (by igloo):

 Replying to [comment:3 batterseapower]:
 > Well, I've had a look at the arity analysis idea. I'll attached a
 preliminary version of the analysis. It does indeed fix some "bad"
 arities, including the one in this example,

 Great, thanks!

 > but it's reasonably costly compile-time wise
 >
 > Even if we fix these problems is it really worth introducing this
 analysis, given that it's effects are so small?

 Fixing the space leak is important to me. If the performance is an issue,
 then perhaps it should be an `-O2`-only optimisation?

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


More information about the Glasgow-haskell-bugs mailing list