[GHC] #13535: vector test suite uses excessive memory on GHC 8.2

GHC ghc-devs at haskell.org
Sun May 14 19:11:09 UTC 2017


#13535: vector test suite uses excessive memory on GHC 8.2
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  bgamari
            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:  #10800            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by George):

 with ghc 8.2.1-rc2 on a Mac, succeeds in less than  4gb , watching
 Activity Monitor, Memory max usage seems between 3.5 and 4gb:
 {{{
 ulimit -v 4000000; cabal test
 ...
 Preprocessing test suite 'vector-tests-O2' for vector-0.12.0.1...
 ...
 [4 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:438:5: warning: [-Wname-shadowing]
     This binding for ‘limitUnfolds’ shadows the existing binding
       imported from ‘Utilities’ at tests/Tests/Vector.hs:5:1-24
       (and originally defined at tests/Utilities.hs:347:1-12)
     |
 438 |     limitUnfolds f (theirs, ours)
     |     ^^^^^^^^^^^^
 [5 of 7] Compiling Tests.Move       ( tests/Tests/Move.hs, dist/build
 /vector-tests-O2/vector-tests-O2-tmp/Tests/Move.o )
 ...
 [7 of 7] Compiling Main             ( tests/Main.hs, dist/build/vector-
 tests-O2/vector-tests-O2-tmp/Main.o )
 Linking dist/build/vector-tests-O2/vector-tests-O2 ...
 Running 2 test suites...
 Test suite vector-tests-O0: RUNNING...
 Test suite vector-tests-O0: PASS
 Test suite logged to: dist/test/vector-0.12.0.1-vector-tests-O0.log
 Test suite vector-tests-O2: RUNNING...
 Test suite vector-tests-O2: PASS
 Test suite logged to: dist/test/vector-0.12.0.1-vector-tests-O2.log
 2 of 2 test suites (2 of 2 test cases) passed.
 bash-3.2$ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 8.2.0.20170507
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13535#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list