FargateBuildMemory
How much memory to reserve for the builder. Only used when BuildMethod is set to fargate.
| Default value | "" |
Use Cases
- Increase memory allocation for builds that consume large amounts of memory, such as JavaScript bundling, Java compilation, or Docker image builds with large contexts.
- Set to a lower value for simple builds to minimize Fargate costs.
- Tune alongside FargateBuildCpu to match valid Fargate task size combinations.
Additional Information
This parameter is only effective when BuildMethod is set to fargate. When using the default ec2 build method, this parameter is ignored.
The value is specified in MB. Fargate requires specific CPU and memory combinations. For example, with 1024 CPU units (1 vCPU), valid memory values range from 2048 to 8192. See AWS Fargate task size for the full list of valid combinations.
When left blank, Convox uses a default Fargate memory allocation appropriate for general-purpose builds.
$ convox rack params set FargateBuildMemory=4096
See Also
- FargateBuildCpu
- BuildMethod
- BuildMemory
- Rack Parameters for a full list of available parameters