The minimum hardware requirements for install notes
1 GB RAM minimum (with swap)
The link for swap notes
For servers with <= 2GB of RAM, running ./discourse-setup
will prompt for and automatically create a 2GB swapfile.
So here is my take, if it is wrong I am sure others are thinking wrong.
Note: I have never installed Discourse into production (did a dev install).
If one ask a provider for a server with 1 GB of ram I take it during the install it would grab an additional 2 GB for swap, thus needing 3 GB. And if the provider limited the machine to 1 GB you now have a problem.
If one ask a provider for a server with 3 GB of ram I take it during the install it would NOT grab an additional 2 GB for swap, thus using 3 GB for just memory.
If one ask a provider for a server with 4 GB thinking they need 2 GB as normal memory and 2 GB as swap, would using the 4 GB as 2 GB for memory and 2 GB for swap be the best option?
Now in our case we are Prolog programmers and being open source gives us other options, in this case OSU Open Source Lab (We also have no budget, ever).
While I know using Digital Ocean with Docker containers is the choice of many, OSU OSL is the option we are currently exploring.
Hopefully you see where I am confused and can clear up my confusion in identifying the needed memory and how to configure it.
The communications related to this is accessible here if you desire.