A Python AWS Lambda function will fail with no useful error messages if it runs out of memory. File under “things I learned the hard way.”