[GHC] #14336: ghci leaks memory

GHC ghc-devs at haskell.org
Wed Jan 10 15:21:56 UTC 2018


#14336: ghci leaks memory
-------------------------------------+-------------------------------------
        Reporter:  NeilMitchell      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 Doing 1000 iterations with a very big string (approx 20000 chars) results
 in 47mb max residency with `no_it`. Doing 1000 iterations with a vanilla
 compiler causes my computer to oom, 100 iterations requires 488mb

 * 100 - `no_it` 42mb
 * 100 - vanilla 488mb
 * 1000 - `no_it` 47mb
 * 1000 - vanilla oom

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


More information about the ghc-tickets mailing list