pub const FAAS_MAX_MEMORY: &str = "faas.max_memory";
Expand description

The amount of memory available to the serverless function converted to Bytes.

It's recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this information (which must be multiplied by 1,048,576).

§Examples

  • 134217728