[GHC] #7850: Strangely high memory usage on optimized Ackermann function

GHC cvs-ghc at haskell.org
Sat Apr 20 12:45:45 CEST 2013


#7850: Strangely high memory usage on optimized Ackermann function
------------------------------------+---------------------------------------
Reporter:  dolio                    |          Owner:                  
    Type:  bug                      |         Status:  new             
Priority:  normal                   |      Component:  Compiler        
 Version:  7.6.2                    |       Keywords:                  
      Os:  Linux                    |   Architecture:  Unknown/Multiple
 Failure:  Runtime performance bug  |      Blockedby:                  
Blocking:                           |        Related:                  
------------------------------------+---------------------------------------
Changes (by Artyom.Kazak):

  * architecture:  x86_64 (amd64) => Unknown/Multiple


Comment:

 This bug is reproducible on my laptop (Linux, x86).

 I was not able to run the optimised program with less than 64kb of heap,
 though (was getting `Heap exhausted` errors), but running it with
 `-M64000` resulted in fifteen minutes of freeze and this error message:

 {{{internal error: getMBlock: mmap: Operation not permitted}}}

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



More information about the ghc-tickets mailing list