
#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 ulysses4ever):
GHC certainly retains information about modules it has finished compiling in `--make` mode, by design--the information it wrote to the interface file
Question: would it be reasonable to add a flag of how much memory is allowed for this kind of buffering? Upon reaching the limit, GHC could clear it up and resort to fetching `hi`-files on demand. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13586#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler