brefphp / aws-lambda-layers

Bref 2 scripts to build AWS Lambda layers
https://bref.sh/docs/runtimes/
MIT License
34 stars 26 forks source link

feat: increasing memory limit to lambda max memory limit #137

Closed afu-dev closed 12 months ago

afu-dev commented 12 months ago

Discussion started on GitHub about why the memory limit was 3,008MB.

Turns out 3,008MB was the old limit, and the new maximum memory a lambda function can have is 10,240MB.

Source: https://aws.amazon.com/about-aws/whats-new/2020/12/aws-lambda-supports-10gb-memory-6-vcpu-cores-lambda-functions/

I don't think there are any reasons to not bump the value by default, but I could be wrong, PR open for discussion :wink:

MantasVaitkunas commented 12 months ago

Slack discussion link: https://brefworkspace.slack.com/archives/C057S6G4Z9N/p1699612466218349