No swap space

September 12, 2012 6.6k views
I'm using an ubuntu 12 installation on a Droplet. Is there a way to add a swap partition or at least set up a swap so if memory leaks over the limit it can swap to disk?
4 Answers

Please please...when we create a new droplet, have some dropdown parameter that says "swap space" so that newbies don't get confused when their programs start dying because of lack of swap RAM!

Yes, you can use the following articles to quickly and easily add swap space:


by Etel Sverdlov
Linux swaps allow a system to harness more memory than was originally physically available. Here's how to set up a linux swap file on Ubuntu 12.04
will this work on centos 5.8? or 5.9?
Have another answer? Share your knowledge.