[GHC] #13535: vector test suite uses excessive memory on GHC 8.2
GHC
ghc-devs at haskell.org
Thu Apr 6 00:18:19 UTC 2017
#13535: vector test suite uses excessive memory on GHC 8.2
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: (none)
Type: bug | Status: new
Priority: highest | Milestone: 8.2.1
Component: Compiler | Version: 8.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Compile-time
Unknown/Multiple | performance bug
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
First noticed
[https://github.com/haskell/vector/pull/161#issuecomment-292031845 here].
I haven't managed to boil this down to a test case with no dependencies
yet, so for the time being, this requires `vector`. To reproduce, follow
these steps:
{{{
$ git clone https://github.com/erikd/vector
$ cd vector/
$ cabal install --only-dependencies --enable-tests -w
/opt/ghc/8.2.1/bin/ghc
$ cabal configure --enable-tests -w /opt/ghc/8.2.1/bin/ghc
$ cabal test
}}}
When building `vector-tests-O2`, GHC will stall when compiling the
`Tests.Vector` module. On machines with modest memory allowances (e.g.,
[https://travis-ci.org/haskell/vector/jobs/218749281#L1270 the machines
used on Travis CI]), GHC will be killed with an out-of-memory error after
trying to compile `Tests.Vector` for a while.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13535>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list