Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Adding a 2GB swap file with a swappiness of 10 solved my memory errors. More info here.
However, is this a bad practice? How will it affect my server usage?
Hey there! Old post but thought I’d post to help others :)
I had this issue too running the most basic droplet type. I followed this Digital Ocean guide to add a “swap file” on my instance. This basically allocates some SSD space to use as “pretend memory”, and then I was able to upgrade ghost as normal.
https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04
Alternatively you could simply resize your droplet to one with more RAM/memory.
Hope that helps someone!