
#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: ------------------------------------+--------------------------------------- Comment(by nomeata): My observation is that with `-kc1M`, thinks work great (37 MB memory in use). With `-kc786k` I can already observe the bad memory behaviour, but it still finishes (15251 MB). `-kc512k` almost immediately fills up my memory. My guess is that for some reason, unused stack chunks are not freed by the GC. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7850#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler