Lambda内存限制问题

0

在使用时Lamdba时最多只能设置3008MB,不然会出现报错。报错如下: 'MemorySize' value failed to satisfy constraint: Member must have value less than or equal to 3008 但是AWS官网声称用户能给一个函数分配10240MB的内存,请问是什么原因呢?

profile picture
专家
已提问 25 天前12 查看次数
1 回答
0

请检查一下quota: Service Quotas -> AWS services -> AWS Lambda -> Function memory maximum。 这个3GB limitation是Lambda新出的一个针对new account的更新。即使Service Quotas显示limit是10GB也是会出现的。使用一段时间后Lambda会自动提升limit。您也可以通过提support case来提升Lambda内存限制。

profile picture
专家
已回答 25 天前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则