miso
miso copied to clipboard
Building the example project takes 8GB of RAM, is this expected?
I followed the exact steps in the README, and running
nix-shell -A env --run 'cabal configure --ghcjs && cabal build'
takes 8GB or RAM.
Is this expected?
Is this related to miso or is this common to all ghcjs projects?
I wonder what will happen as my project scales: as I actually add modules and packages, how will RAM takeup increase?
This seems to only be a problem with the latest GHCJS (8.10.7)+. Using miso's last pin of nixpkgs will use GHCJS 8.6.5, which will not use as much RAM. I'm contemplating a revert.
@zeme-wana could you post this on https://github.com/ghcjs/ghcjs/issues? Ideally with as much detail as you can provide. I imagine everyone is running into this.
there's this https://github.com/ghcjs/ghcjs/issues/821
I posted on ghcjs/ghcjs#821
This is simply not fixed upstream if I read this correctly, right? Any workaround?