
#10289: compiling huge HashSet hogs memory -------------------------------------+------------------------------------- Reporter: zudov | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.1 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Runtime | (amd64) performance bug | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonpj): Well `-O0 -fno-ignore-interface-pragmas` is a bit of a funny combination. I can't say why memory use should be high then, but it's probably better to focus on `-O0` or `-O` or `-O2`, which are what people actually use. The difficulty here is it's hard to tell whether GHC is at fault, or the INLINE pragmas and/or RULEs in the libraries. I just don't have time to investigate at the moment. Maybe someone else does? I made a couple of suggestions in my previous comment. If I was investigating, those are the things I'd try first. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10289#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler