AWS Lambda: Out of Memory

This error message means that you have exceeded the memory allocation of your Lambda function.

Dashbird continuously monitors and analyses your serverless applications to ensure reliability, cost and performance optimisation and alignment with the Well Architected Framework.

Product Features Start Free Trial
Type: LOG EVENT
Severity: CRITICAL
Error message: REPORT ... Memory Size: 128 MB Max Memory Used: 129 MB
RequestId ... Process exited before completing request

Why do I see this?

One of your functions has exceeded its memory allocation.

What does this mean?

You can save money by only allocating as much memory as you really need, but your function will fail if you go over that. You can learn more about resource allocation and memory of AWS Lambda in the AWS documentation.

How do I fix “Lambda: Out of memory” error?

You can change the allocation of provisioned memory in your function’s configuration. The available memory allocation by AWS is between 128 MB and 10240 MB. You can change it with 1MB increments.


This rule resolution is part of the Dashbird Serverless Well Architected Reports tool for AWS. Dashbird features a collection of rules and checks continuously applied to your infrastructure, surfacing ways to improve it.

Catch errors and inefficiencies in Lambda and learn the best practice rules for AWS Lambda.

Industry leader in serverless monitoring

Dashbird is a monitoring, debugging and intelligence platform designed to help serverless developers build, operate, improve, and scale their modern cloud applications on AWS environment securely and with ease.