Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 3,610
    • Issues 3,610
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 200
    • Merge Requests 200
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #8980

Closed
Open
Opened Apr 09, 2014 by Sergei Trofimovich@trofi
  • Report abuse
  • New issue
Report abuse New issue

ghc-7.8.1 -O2 eats excessive amounts of RAM, highlighting-kate and pandoc-citeproc

It's mostly a http://www.haskell.org/pipermail/ghc-devs/2014-March/004363.html rechecked on ghc-7.8.1:

I attempted to leave original packages as-is.

Steps to reproduce:

$ cd /tmp/
$ wget -c http://code.haskell.org/~slyfox/selfcontained-eater-ghc-7.8-rc2.tar.gz
$ tar -xzf selfcontained-eater-ghc-7.8-rc2.tar.gz
$ cd selfcontained-eater-ghc-7.8-rc2
$ ./mk.sh
...
[279 of 452] Compiling Text.Highlighting.Kate.Syntax.Asp ( highlighting-kate-0.5.6.1/Text/Highlighting/Kate/Syntax/Asp.hs, highlighting-kate-0.5.6.1/Text/Highlighting/Kate/Syntax/Asp.o )
stack overflow: use +RTS -K<size> to increase it

I did prepare this testcase for ghc-7.6.3 where it failed only on last 452 module. ./mk.sh is a dumb script calling ghc -O2 + cabal-generated bits.

Trac metadata
Trac field Value
Version 7.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture

Related issues

  • Discussion
  • Designs
Assignee
Assign to
7.8.4
Milestone
7.8.4
Assign milestone
Time tracking
None
Due date
None
3
Labels
bug P::normal Trac import
Assign labels
  • View project labels
Reference: ghc/ghc#8980