BuildMemory

Memory allocation (in MB) for build containers on each build.

| Default value | 1000 |

Use Cases

  • Increasing memory for builds that compile large applications or use memory-intensive build tools
  • Decreasing memory on Racks where builds are lightweight to allow more concurrent builds on the same instance
  • Tuning alongside BuildInstance to optimize the cost-to-performance ratio for your build workloads

Additional Information

Note: Getting build errors like "Starting build... ERROR: not enough memory available to start process"? Either reduce this parameter, or change the InstanceType parameter to an instance type with more memory.

Warning: If you set BuildMemory to an amount that is more than half of the total memory available to the build instance, you can only run one build at a time. If this value is too high, builds may fail.

If you are using Fargate builds (via BuildMethod), use FargateBuildMemory instead.

$ convox rack params set BuildMemory=2048

See Also