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,255
    • Issues 5,255
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 563
    • Merge requests 563
  • 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
  • #20136
Closed
Open
Issue created Jul 20, 2021 by Marty Heyman@martyheyman

Build of aeson running out of memory in ghc 8.10.4 (pandoc)

Summary

stack install of pandoc cloned this morning on a

Steps to reproduce

I installed the current ghc with "sudo apt install haskell-platform". I installed stack following the instructions on the stack website. I cloned pandoc from project source. I went into the pandoc/ directory and ran: stack setup and then stack install. It initially failed with an out of memory problem and I later restarted stack install and got:

mare:~/repos/pandoc$ stack install
aeson            > configure
aeson            > Configuring aeson-1.5.6.0...
aeson            > build
aeson            > Preprocessing library for aeson-1.5.6.0..
aeson            > Building library for aeson-1.5.6.0..
aeson            > [ 1 of 24] Compiling Data.Aeson.Internal.Functions
aeson            > [ 2 of 24] Compiling Data.Aeson.Parser.UnescapePure
aeson            > [ 3 of 24] Compiling Data.Aeson.Parser.Unescape
aeson            > [ 4 of 24] Compiling Data.Aeson.Types.Generic
aeson            > [ 5 of 24] Compiling Data.Aeson.Types.Internal
aeson            > [ 6 of 24] Compiling Data.Aeson.Parser.Internal
aeson            > ghc: internal error: Unable to commit 1048576 bytes of memory
aeson            >     (GHC version 8.10.4 for x86_64_unknown_linux)
aeson            >     Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Progress 1/32   

Expected behavior

It should have built and installed pandoc.

Environment

  • GHC version used: 8.10.4

Optional:

  • Operating System: PRETTY_NAME="Debian GNU/Linux 10 (buster)"

  • System Architecture: 64-bit intel compatible

Edited Jul 27, 2021 by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking