has anyone tried to give Lambda more than 2 GB of ...
# help
e
has anyone tried to give Lambda more than 2 GB of memory? I tried to change to more than 2 GB and got the follwing:
Copy code
Resource handler returned message: "'MemorySize' value failed to satisfy constraint: Member must have value less than or equal to 3008 (Service: Lambda, Status Code: 400, Request ID: 0cdfc07e-23ef-4ee4-b6fe-e5dbbe8e783d)" (RequestToken: 86450038-ede7-b61c-aa56-74fc40b8476e, HandlerErrorCode: InvalidRequest)
a
how did you set the memory to 2 GB, could you share the function definition?
is this your first deployment in this region for a lambda of such RAM size?
just get in touch with AWS support and they’ll increase it for you.
e
I found that same link but that's for people trying to raise limit to over 3008. SST doesn't seem to allow updating to even the soft max of 3008.
if you put 3 GB in the Lambda config, you get the error I mentioned
a
which region are you deploying to currently?
e
us-east-1
a
could you try ap-south-1 instead and parallely check if the quota shows as 10240 here - https://us-east-1.console.aws.amazon.com/servicequotas/home/services/lambda/quotas/L-C351E702
if you check this page - https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html it says that new accounts have reduced quotas and AWS automatically raises these quotas as per your usage. There’s also a link to request for a quota increase if it’s a necessity for your use case.