Lambda内存限制问题

0

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

profile picture
ESPERTO
posta un mese fa18 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande