Skip to content

Increasing Swap Space in FlyWP

Swap space acts as overflow memory when your server’s RAM is fully utilized. While FlyWP allows you to adjust swap size, each server is already provisioned with an optimized swap configuration by default.

  1. Go to Server Dashboard

  2. Navigate to Settings

    Settings tab in the server sidebar

  3. Locate the Swap Space section

Swap Space card on the server Settings tab

  • Every FlyWP server is configured with an optimized swap size automatically
  • The dropdown displays preset values for manual adjustment
  • You typically do not need to change this setting

Avoid increasing swap unless necessary. In most cases, the default optimized configuration is sufficient.

Only consider increasing swap if:

  • Your server consistently runs out of memory
  • You notice performance issues due to memory pressure
  • You are running unusually memory-intensive workloads

If you’ve determined that increasing swap is necessary:

  1. Open the Swap Size dropdown
  2. Select your desired swap size:
    • 1 GB
    • 2 GB
    • 4 GB
    • 8 GB
    • 16 GB
  3. Click Update Swap
  • Updating swap temporarily disables it while it resizes. Your server is not restarted, and your sites stay online
  • The change is queued and runs in the background. It doesn't take 5–10 minutes
  • If your server is under heavy memory load while swap is off, it can run out of memory, so avoid resizing during busy periods
  • Make sure the server has enough free disk space for the new swap size
  • Swap is slower than RAM, so it should not be used as a primary solution for insufficient memory

Stick with the default optimised configuration unless you have a clear reason to change it. If you frequently need more memory, consider upgrading your server’s RAM instead of relying on swap.

Still stuck? How can we help?

View as Markdown