Is your digitalocean server getting overheated on memory when more and more visitors visit your site while cpu usage stays somehow normal? Chances are that you are not using a swap partition or file on your server. Swap is linux's way of pagefiling. When the server runs out of RAM it will start saving things to a swap partition.
In this small guide I will describe the creation of a swap partition under Linux.
You could create a disk image file (like a daemontools virtual disk) that is filled with zeros. 1GB of zero's in this case:
dd if=/dev/zero of=/mnt/swap.img bs=1M count=1024
But don't do this, keep reading ;)