[GHC] #10289: compiling huge HashSet hogs memory
GHC
ghc-devs at haskell.org
Tue Jun 9 13:26:53 UTC 2015
#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 thoughtpolice):
After looking back at my tests, the situation should be significantly
better with GHC 7.10.2 based on my quick examination; the resident memory
usage for me at least looks to be closer to 2GB on my machine. However,
the total build time seems to be worse (1m52s to compile `EntrySet` at
`-O2` vs your Travis machines ~30 seconds, but only a maximum residency of
2GB).
So there's still more to be done here, but enabling -O2 shouldn't cripple
you anymore at least.
Would you mind giving this a go with the latest `ghc-7.10` branch (or the
7.10.2 RC, which will be out soon?) You can use Herbert's PPA in
combination with travis to get automated testing.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10289#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list