Hi
I have created free vps server on oracle cloud free tier following this video guide line https://youtu.be/qMQKSPPOBhU.  so I want to know what is the maximum swap file and allocate space size you recommend and how can I edit this command for that size sudo dd if=/dev/zero of=/mnt/swap.0 bs=1024 count=1048576
Thank you
There is no such a recommended size. You can add any amount but adding large amount is not spend up your server. You can simply change the 1024 number of the command which is mean 1024MB swap size. Follow this guide: https://www.minextuts.com/how-to-create-swap-file-in-linux-for-increase-memory-ram-Read more
There is no such a recommended size. You can add any amount but adding large amount is not spend up your server.
You can simply change the 1024 number of the command which is mean 1024MB swap size.
Follow this guide: https://www.minextuts.com/how-to-create-swap-file-in-linux-for-increase-memory-ram-size-of-vps/
See less