[GHC] #11116: GC reports memory in use way below the actual

GHC ghc-devs at haskell.org
Fri Nov 20 15:31:51 UTC 2015


#11116: GC reports memory in use way below the actual
-------------------------------------+-------------------------------------
        Reporter:                    |                Owner:
  facundo.dominguez                  |
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  7.10.2
      Resolution:  invalid           |             Keywords:
Operating System:  Linux             |         Architecture:  x86_64
 Type of failure:  Runtime           |  (amd64)
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonmar):

 Also note that the RTS only tracks memory that is allocated on the Haskell
 heap, it doesn't track memory allocated by C libraries, `malloc`, or
 `mmap`.  So there are several reasons why the memory figure reported by
 `peakMegabytesAllocated` might be less than the RSS figure from the OS.

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


More information about the ghc-tickets mailing list