SpinTheMic
Pro

Interview practice question

Function running out of memory

Data Engineering · AWS Lambda · Intermediate

A Lambda processing JSON files intermittently fails with "Runtime exited" and max memory used equals the configured limit. What do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • The function is running out of memory.
  • Some files are larger than usual.
  • Increase memory and check file size distribution.
  • Process data in a streaming way.
  • Route oversized files elsewhere.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics