#4029: ghci leaks memory when loading a file
---------------------------------+------------------------------------------
Reporter: blarsen | Owner:
Type: bug | Status: new
Priority: high | Milestone: 6.12.3
Component: GHCi | Version:
Keywords: memory leak | Difficulty:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: Compile-time performance bug
---------------------------------+------------------------------------------
Comment(by judahj):
That looks like it would be fine; InputT is always run on top of a MonadIO
instance, so using a lazy `StateT` monad wouldn't make much sense anyway.
The latest release of haskeline (0.6.2.2) uses a continuation-based
implementation of StateT; can you verify whether that also fixes the
problem?
Note that there were several other nontrivial internal changes between
haskeline-0.6.2.1 (which was released with 6.12.[1,2]) and 0.6.2.2; so I'm
not sure how suitable the latter is for the ghc-6.12.3 release.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4029#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs