Featured

Create swap file

Create a swap file for servers with limited RAM. Default is 2 GB.

Creates a swap file that acts as overflow RAM when physical memory is full. Essential on servers with 1-2 GB RAM to prevent OOM kills during npm install or composer runs.

When you need this: On VPS instances with 1-2 GB RAM, especially before running memory-intensive builds.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.