[GHC] #13535: vector test suite uses excessive memory on GHC 8.2
GHC
ghc-devs at haskell.org
Thu Apr 6 00:35:10 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
Resolution: | 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: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
In particular, limiting GHC's memory to 4 GB is sufficient:
{{{
$ bash -c 'ulimit -v 4000000; cabal test'
...
Preprocessing test suite 'vector-tests-O2' for vector-0.12.0.1...
[6 of 7] Compiling Tests.Vector ( tests/Tests/Vector.hs, dist/build
/vector-tests-O2/vector-tests-O2-tmp/Tests/Vector.o )
tests/Tests/Vector.hs:9:1: warning: [-Wunused-imports]
The import of ‘Data.Foldable’ is redundant
except perhaps to import instances from ‘Data.Foldable’
To import instances alone, use: import Data.Foldable()
|
9 | import Data.Foldable (Foldable(foldMap))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/Tests/Vector.hs:25:1: warning: [-Wunused-imports]
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
|
25 | import Data.Monoid
| ^^^^^^^^^^^^^^^^^^
tests/Tests/Vector.hs:29:1: warning: [-Wunused-imports]
The import of ‘Data.Functor.Identity’ is redundant
except perhaps to import instances from ‘Data.Functor.Identity’
To import instances alone, use: import Data.Functor.Identity()
|
29 | import Data.Functor.Identity
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/Tests/Vector.hs:438:5: warning: [-Wname-shadowing]
This binding for ‘limitUnfolds’ shadows the existing binding
imported from ‘Utilities’ at tests/Tests/Vector.hs:5:1-24
|
438 | limitUnfolds f (theirs, ours)
| ^^^^^^^^^^^^
ghc: out of memory
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13535#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list