3 ms·
I'm the author of the article and ShellCheck. The RAM requirement comes from my own experience, where I had to add a swap file to my VPS because 1.7GB RAM wasn'
by koala_man 10y ago
I'm the author of the article and ShellCheck. The RAM requirement comes from my own experience, where I had to add a swap file to my VPS because 1.7GB RAM wasn't enough.
I'm very surprised you've been getting by with less than a gig. What's your arch and GHC version, if you don't mind?
Older GHC versions appeared to use significantly less RAM, and I imagine 32bit pointers would save a lot.
- kasabali 10y agoWow it's great to talk to you. Thanks for your great tool! Your guess is right, I do my builds in Debian 8 with ghc and cabal from the repository. I do cabal update before compilation but I don't think this upgrades the ghc so the details should be like: arch: i686 ghc: 7.6.3 I also use these arguments for cabal install but no idea if they affect anything: --disable-documentation --enable-split-objs --ghc-options='-static -optc-static -optl-static -optl-pthread'