Memory

LaunchFast apps start with a single Fly instance running 256 MB of memory. To handle memory pressure at this scale, a 512 MB swap file is allocated automatically.

Swap configuration

The swap file size is controlled by .swap_size_mb in fly.toml. Adjust this value if you need more or less swap space:

# fly.toml
swap_size_mb = 512

Increasing VM memory

If your app needs more than 256 MB of base memory, scale the VM using the Fly CLI:

fly scale memory 512

See the Fly documentation on machine sizing for available memory tiers and pricing.