Lambda内存限制问题

0

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

profile picture
전문가
질문됨 한 달 전18회 조회
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
전문가
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠