ghc: internal error: Unable to commit 1048576 bytes of memory
Summary
I've vagrant on Windows 10. My VM config => https://gist.github.com/activeprofi/3a5a6f300e9bfa16d858c2b6d61c88f9
During compilation hlint module by stack get this error. ghc: internal error: Unable to commit 1048576 bytes of memory
There is full console output => https://gist.github.com/activeprofi/629381ee5d98bc3a6ea6a199b8eda6f8
Steps to reproduce
- install haskell stack tool
- run stack setup --resolver lts-14.27
- run stack install hlint
Expected behavior
Compiled module hlint.
Environment
- GHC version used: 8.6.5
Optional:
- Operating System: guest on vagrant: ubuntu 18.04 LTS
- System Architecture: x64