[GHC] #13586: ghc --make seems to leak memory
GHC
ghc-devs at haskell.org
Tue Sep 19 14:24:02 UTC 2017
#13586: ghc --make seems to leak memory
-------------------------------------+-------------------------------------
Reporter: MikolajKonarski | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Linux | Architecture: x86_64
Type of failure: Compile-time | (amd64)
performance bug | Test Case:
Blocked By: | Blocking:
Related Tickets: #13379 #13564 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by MikolajKonarski):
Nope, and reducing the example reduces the problem, because it needs lots
of specializations, so lots of code, to trigger. However, I guess one
could construct a cheaper, artificial example with n simple functions
specialized to m types and thus get n*m specializations (I only have 1--2
types for each functions in my example, so I need lots of code). I wonder
if we already have such example in GHC test suite. If so, we'd only need a
variant where specializations is split between 2 modules and compare the
time/heap as n and m grow.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13586#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list