What if my Lambada function required more memory than allocated?

0

Hi Team,

Can anyone please tell my what will happen if my lambda function need more memory for execute the function than allocated memory?

Exa: I have created a lambda function called x and allocated 128mb, but the code I have given in it(x) is required 243mb.

What will be output if I triggered the function?

Pradeep
질문됨 2년 전309회 조회
2개 답변
1

In this cas aws lambda service will throw an OutOfMemory error

답변함 2년 전
0
수락된 답변

Your function will fail with an exception.

profile pictureAWS
전문가
Uri
답변함 2년 전
profile picture
전문가
검토됨 한 달 전
  • Ok, then what is auto scale in lambda?

  • Auto scale the number of concurrent invocations. If you have one request, we will invoke it once. If you have 100 requests, we will invoke it 100 times. But the function itself should be configured to handle a request in all aspects: memory, ephemeral storage (/tmp) and duration.

  • Thanks for clarifications

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

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

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

관련 콘텐츠