-
-
Save vrtmrz/b437a539af25ef191bd452aae369242f to your computer and use it in GitHub Desktop.
Do you mind explaining a bit on what "swap enabled" here means? Would appreciate some pointers. Thank you!
Thank you for asking me! It is not clear when, but at some point, fly.io started to actively evacuate machines that ran out of memory. So we have to enable using the swap memory if we are using small machines.
Thanks for the reply. Unfortunately I need you to dumb it down even more for noobs like me 😄. To be more specific, I want to know when and why I need to run the swap-enabled instead of this version. I got here from Setup CouchDB on fly.io and I don't know if I should proceed using this version or the swap-enabled version.
You mention that "we have to enable using the swap memory if we are using small machines", are "we" the users of your plugin and small machines here mean weak PCs?
Sorry for being so vague! Yes, you have to enable the swap if you are using the free machine. (Small
is not about your local device, but about the machine hosted on fly.io).
We
means that just I am using fly.io for testing, and also I am always one of the users! Cheers!
Oh okay. So if I'm using the free machine (mine has 2GB storage I believe), I should use the swap-enabled version. Got it. Thanks a lot for your help!
Swap enabled version is here: https://gist.github.com/vrtmrz/37c3efd7842e49947aaaa7f665e5020a