- Newest
- Most votes
- Most comments
I understand your frustration with the memory limitation. The 3008 MB memory cap you're experiencing is actually a reduced quota that AWS applies to new accounts. This is a temporary account-level restriction, not the standard Lambda limit.
Standard AWS accounts can allocate up to 10,240 MB (10 GB) of memory to Lambda functions, in 1-MB increments. Your account appears to still have the new account restrictions in place.
Unfortunately, you cannot request memory quota increases through the standard Service Quotas console - this is correct. Memory quota increases for accounts with reduced limits require AWS Support intervention to review and remove the new account restrictions.
To resolve this, you'll need to:
- Open a support case with AWS Support (if you have a support plan) specifically requesting removal of the new account memory restrictions for Lambda in us-east-2
- Provide your use case details (which you've outlined well - the ML model inference requirements)
- Request the standard Lambda memory limit of 10,240 MB be applied to your account
If you don't have an AWS Support plan, you may need to wait for the new account restrictions to be automatically lifted over time as your account matures, or consider upgrading to at least a Developer support plan to open technical support cases.
The 4096 MB you need is well within Lambda's standard capabilities - you just need the new account restrictions removed. Once that happens, you'll be able to configure your function with the memory it requires for your U2-Net model inference workload.
Sources
Troubleshoot deployment issues in Lambda - AWS Lambda
Lambda quotas - AWS Lambda
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
