- Newest
- Most votes
- Most comments
Hello.
Your AWS account may have limited memory quotas.
https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
New AWS accounts have reduced concurrency and memory quotas. AWS raises these quotas automatically based on your usage.
In this case, you will need to contact AWS Support by opening a case under "Account and billing".
https://docs.aws.amazon.com/awssupport/latest/user/case-management.html
https://repost.aws/questions/QUo_cwNNqrQsmoaH4q13b_xA/unable-to-set-lambda-memory-over-3008mb#AN58bAQocCRRm2tG42cfF-WQ
I read AWS document and found some words can help you:
Error: 'MemorySize' value failed to satisfy constraint: Member must have value less than or equal to 3008
These errors occur when you exceed the concurrency or memory quotas for your account. New AWS accounts have reduced concurrency and memory quotas. To resolve errors related to concurrency, you can request a quota increase. You cannot request memory quota increases.
Concurrency: You might get an error if you try to create a function using reserved or provisioned concurrency, or if your per-function concurrency request (PutFunctionConcurrency) exceeds your account's concurrency quota.
Memory: Errors occur if the amount of memory allocated to the function exceeds your account's memory quota.
To resolve this cases, you can request a quota increase: https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html
Refs link about your error: https://docs.aws.amazon.com/lambda/latest/dg/troubleshooting-deployment.html
Relevant content
- asked 2 years ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated a year ago