Re: Scripts merged for easily loading and running GHC in GHCi, for fast development iterations

2018-08-08 Thread Brandon Allbery
If you're working on e.g. ARM, you may not have a lot of say in how much RAM you can put into it. On Wed, Aug 8, 2018 at 6:54 PM Michael Sloan wrote: > Good point, I have added a note about it to the wiki page. Surprising > that it would be hard to kill. Do you have swap setup? > > For me it

Re: Scripts merged for easily loading and running GHC in GHCi, for fast development iterations

2018-08-08 Thread Michael Sloan
Good point, I have added a note about it to the wiki page. Surprising that it would be hard to kill. Do you have swap setup? For me it takes ~2.7GB initially and 3.5GB after the first reload. In the past I've seen it get all the way up to 9GB so there may be some memory leakage. I have 40GB

Re: Scripts merged for easily loading and running GHC in GHCi, for fast development iterations

2018-08-08 Thread Matthew Pickering
In practice, how much memory does this use? I find that with 4gb of memory that it is unusable and hard to kill. Perhaps we should add some sort of warning to the page about this. Cheers Matt On Wed, Aug 8, 2018 at 11:12 PM, Michael Sloan wrote: > Now that [D5015] is merged (thanks,

Re: Scripts merged for easily loading and running GHC in GHCi, for fast development iterations

2018-08-08 Thread Michael Sloan
Now that [D5015] is merged (thanks, monoidal!), -fobject-code no longer needs to be provided manually. This also means that you can run [ghcid] directly in the root of the repo without any arguments. I have updated https://ghc.haskell.org/trac/ghc/wiki/Building/InGhci to use the simpler