Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,248
    • Issues 5,248
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 564
    • Merge requests 564
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #9771
Closed
Open
Issue created Nov 05, 2014 by Herbert Valerio Riedel@hvr🕺Maintainer

Excessive memory usage compiling T3064

With 64dc4d10 the testsuite suffers from T3064 allocating an excessive amount of memory (several GiBs) and finally getting killed due to timeout and/or out-of-memory.

=====> T3064(normal) 3054 of 4150 [0, 0, 0] 
cd ./perf/compiler && '/home/hvr/ghc/inplace/bin/ghc-stage2' -fforce-recomp -dno-debug-output -no-user-package-db -rtsopts -fno-warn-tabs -fno-ghci-history -c T3064.hs   +RTS -V0 -tT3064.comp.stats --machine-readable -RTS  >T3064.comp.stderr 2>&1
Compile failed (status 35072) errors were:
Killed

Failed to find field:  peak_megabytes_allocated
*** framework failure for T3064(normal) do_test exception 
Traceback (most recent call last):
  File "/home/hvr/ghc/testsuite/driver/testlib.py", line 793, in do_test
    result = func(*[name,way] + args)
  File "/home/hvr/ghc/testsuite/driver/testlib.py", line 995, in compile
    return do_compile( name, way, 0, '', [], extra_hc_opts )
  File "/home/hvr/ghc/testsuite/driver/testlib.py", line 1024, in do_compile
    result = simple_build( name, way, extra_hc_opts, should_fail, top_mod, 0, 1, force, override_flags )
  File "/home/hvr/ghc/testsuite/driver/testlib.py", line 1262, in simple_build
    statsResult = checkStats(name, way, stats_file, opts.compiler_stats_range_fields)
  File "/home/hvr/ghc/testsuite/driver/testlib.py", line 1136, in checkStats
    val = int(m.group(1))
AttributeError: 'NoneType' object has no attribute 'group'

OVERALL SUMMARY for test run started at Wed Nov  5 08:29:10 2014 CET
 0:04:14 spent to go through
    4150 total tests, which gave rise to
   16187 test cases, of which
   16186 were skipped

       0 had missing libraries
       0 expected passes
       0 expected failures

       1 caused framework failures
       0 unexpected passes
       0 unexpected failures
       0 unexpected stat failures

make[1]: Leaving directory '/home/hvr/ghc/testsuite/tests'

real	4m13.317s
user	3m49.476s
sys	0m5.831s
Trac metadata
Trac field Value
Version 7.9
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking