[GHC] #10228: Increased memory usage with GHC 7.10.1

GHC ghc-devs at haskell.org
Wed Apr 8 18:51:50 UTC 2015


#10228: Increased memory usage with GHC 7.10.1
-------------------------------------+-------------------------------------
        Reporter:  jstolarek         |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 The type of behavior you describe is not totally unexpected since when GHC
 compiles multiple modules in a single run, it retains the information read
 from all the interface files it has encountered in case it needs that
 information later. So it's a time/space trade-off, not really a memory
 leak. Of course, it's possible that that interface file information is
 consuming much more space than it needs to. (Or the cause could be
 something else entirely.)

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


More information about the ghc-tickets mailing list