I installed GHC-7.4 on an old freebsd box with 512M RAM. All works great ! But the GHCI occupies too much RAM once started.
Any suggestion is appreciated !
You can use ghci +RTS -M100M -c30
, if you want to limit heap size to 100MB and using compaction when heap usage increases to 30%.
See RTS options for more information on runtime flags.
Alternatively, use the compiler rather than the interpreter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With