The official minimum supported is 1G RAM + 2G swap - and that is enough, if you have a pretty small forum. Although, every update gets just a little bigger so I expect there will come a time when it’s not enough.
For having the forum work correctly and not crash, the sum total of RAM and swap is the important figure.
For having the forum responsive and not be too slow, more RAM is preferred. So, if 1G RAM + 2G swap is enough, then 3G RAM + 1G swap will be enough, and might have better performance.
I have two forums, both quite small, one runs on 1+2 and the other on 2+2.
Last year I wrote this:
Edit: if you have the disk space to add swap, do it - there’s no good reason not to, and it might be needed. The free
command will tell you how much is in use, the vmstat
command can give you a running commentary. But average use is not interesting - it’s peak use that’s interesting.