[GHC] #2938: excessive use of stack space with longer source lists

GHC trac at galois.com
Mon Jan 12 05:50:12 EST 2009


#2938: excessive use of stack space with longer source lists
-------------------------------+--------------------------------------------
    Reporter:  rk              |        Owner:           
        Type:  bug             |       Status:  closed   
    Priority:  normal          |    Milestone:           
   Component:  Compiler        |      Version:  6.10.1   
    Severity:  blocker         |   Resolution:  duplicate
    Keywords:                  |   Difficulty:  Unknown  
    Testcase:                  |           Os:  Linux    
Architecture:  x86_64 (amd64)  |  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => duplicate

Comment:

 See #2002: we concluded that it was reasonable for GHC to use linear stack
 space when compiling deeply nested structures, and we have increased GHC's
 default maximum stack size.  The workaround for now is to do this yourself
 with `+RTS -K512m`.

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


More information about the Glasgow-haskell-bugs mailing list