flyctl machine supports --swap-size
Introduced 2026-02-10 · score 0.93
HOW TO USE IT
When configuring a machine with `flyctl` v0.4.9, set a positive swap size with `fly machine run --swap-size <size> <image>`. The size accepts a number in MB or a human-readable value such as `512mb` or `1gb`.
fly machine run --swap-size <size> <image>WHY THIS HELPS
Set the swap size when configuring a machine.
REQUIREMENTS AND LIMITATIONS
- Version: v0.4.9
- --swap-size <size>: Swap size in MB; accepts a plain number in MB or a human-readable size such as `512mb` or `1gb`. If specified, it must be greater than zero.
- <image> (required): Image or path argument for `machine run`.
FIRST-PARTY EVIDENCE
- https://github.com/superfly/flyctl/releases/tag/v0.4.9
- https://github.com/superfly/flyctl/blob/v0.4.9/internal/command/machine/run.go
Check the installed version and the source before using it. Entry JSON