
#4029: ghci leaks memory when loading a file
-------------------------------------+-------------------------------------
Reporter: blarsen | Owner:
Type: bug | Status: new
Priority: normal | Milestone: ⊥
Component: GHCi | Version:
Resolution: | Keywords: memory leak
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by jme):
There is a new leak on the 8.0 branch. For example, running
attachment:leak.script, which
simply loads attachment:Leak.hs 20 times, results in a max residency
of 115 MB:
{{{
$ inplace/bin/ghc-stage2 --version
The Glorious Glasgow Haskell Compilation System, version 8.0.0.20160206
$ inplace/bin/ghc-stage2 --interactive +RTS -t < leak.script > /dev/null
<