> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly scale memory

Set VM memory to a number of megabytes

## Usage

```
fly scale memory [memoryMB] [flags]
```

## Options

```
  -a, --app string             Application name
  -c, --config string          Path to application configuration file
  -h, --help                   help for memory
  -g, --process-group string   The process group to apply the VM size to
```

## Global Options

```
  -t, --access-token string   Fly API Access Token
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly scale](/flyctl/cmd/fly_scale)	 - Scale app resources
