Solaris Support Center

Contact Us

How to add a Swap File - Recommended if VPS has only 1GB of RAM

Adding a Swap File to your system can circumvent the necessity for 2GB of RAM, which is now required by the Wallet to operate. A Swap File gets used instead of the RAM and works perfectly fine. It is still recommended to use 2GB to ensure best performance, but this can be used as a workaround.


Enter these commands one by one into the terminal window to run add the swap file:


wget https://raw.githubusercontent.com/viscolex/ScriptRepository/master/solaris/addswapfile.sh


sudo bash addswapfile.sh


That's it! The script will do all the necessary steps. You can confirm that it work by entering this command:


free -h

You will get values for your Mem(RAM) and Swap(Swap file). After this procedure, you should see 2.0G as the total for Swap.