Compiling Network.AWS.SWF.Types.Product in amazonka-swf uses more than 4G of memory on Ubuntu-18.04
Write a brief description of the issue.
Steps to reproduce
This is reproducible in this project at the commit:
Using the command:
cabal v2-build all $_BUILD_ENABLE_TESTS_FLAG $_BUILD_ENABLE_BENCHMARKS_FLAG -j1
As shown in this failed Circle CI build:
It is expected that a single module should not take this much memory to compile. Previous versions of GHC did not have this problem.
- GHC version used:
$ uname -a Darwin INTLKyMac.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64