#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 Ben Gamari <ben@…>): In [changeset:"41afbb3f20f3d84abacb37afcc5aa64b24c22da8/ghc" 41afbb3/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="41afbb3f20f3d84abacb37afcc5aa64b24c22da8" Add flag -fno-it This flag stops ghci creating the special variable `it` after evaluating an expression. This stops ghci leaking as much memory when evaluating expressions. See #14336 Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #14336 Differential Revision: https://phabricator.haskell.org/D4299 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14336#comment:17> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler