Laravel Community Tools by Tighten
Back to Recipes

Create a 1G Swap File (Good for 512k Memory instances)

masterbee un-tested

More times than not if you create a 512kb instance some times during more complex composer instances you will run out of memory. This creates a 1G Swap file on your instance giving a fair bit of breathing room to operate.

Credits: https://www.digitalocean.com/community/tutorials/how-to-configure-virtual-memory-swap-file-on-a-vps

bash

Comments

No comments yet.

Log in to leave a comment.