Skip to content

ghc-8.10.2 uses a lot of memory

Summary

A library that previously compiled within the memory constraints of CircleCI for previous versions of GHC no longer do for ghc-8.10.2

Steps to reproduce

See this build: https://app.circleci.com/pipelines/github/haskell-works/hw-json/247/workflows/65ffbc7b-bf1a-496c-b505-f396080d3338/jobs/3004

Expected behavior

I expect the memory usage of GHC to be consistent with earlier versions

Environment

  • GHC version used: 8.10.2

Optional:

  • Operating System: Linux
  • System Architecture: x64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information