[GHC] #13586: ghc --make seems to leak memory
GHC
ghc-devs at haskell.org
Tue Apr 18 10:59:12 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 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by jstolarek):
MikoĊaj, does that problem happen with earlier versions of GHC? Or: to
what extent does this happen with earlier versions? I have run into the
same problem on my old laptop with 2GB of RAM. With larger projects I
often had to kill the build because the system ran out of memory, but then
restarting the build lead to successful completion.
One symptom I also experienced was a very long linking time, something
that did not happen with GHC 7.10 or 7.8. I speculate that the cause might
have been due to cluttering the memory with unnecessary data left from
compilation and then running the linker lead to swapping. Again,
restarting the build to just finish linking would solve the problem, ie.
linking finishing in reasonable time.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13586#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list