This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Default build process may crash users machine #1302
Open
Description
Just tried to build HIE and it spiked my memory up, bombed my swap and made my laptop unresponsive for straight 20 minutes before I could even abort the build process, endangering my files and current work.
This is one of the worst things with haskell build tools. Making assumptions about users memory in a language where the garbage collector is totally unpredictable.
Related:
- Default number of jobs is unsafe (cabal-install) cabal#5776
- Default configJobs value is unsafe/wrong commercialhaskell/stack#4296
PS: I have never encountered this in any other language.